Commit Graph

12 Commits

Author SHA1 Message Date
aleks-f
b153850188 FIFOBuffer EOF and error support
FIFOBuffer now supports EOF and error conditions. If EOF flag is set,
buffer will not accept writing but will allow reading of the remainder
of data. After it is emptied, buffer remains in EOF state until flag is
cleared. Setting error flag, immediately empties the buffer and prevents
any I/O operation until flag is cleared. Flag setting will trigger
transiton notifications (if notifications are enabled). For details, see
the code diffs.
2013-01-02 23:19:07 -06:00
Aleksandar Fabijanic
cfbcce0481 FIFOBuferStream and tests (Windows/VS2010 only compiled/tested) 2012-06-07 03:59:13 +00:00
Aleksandar Fabijanic
484510dec5 support for FIFOBuffer in StreamSocket::read/writeBytes() 2012-05-19 05:16:42 +00:00
Aleksandar Fabijanic
5a639074d9 change EOL to 'native' 2012-04-29 18:52:25 +00:00
Aleksandar Fabijanic
056cbeb744 FIFOBuffer::drain() and partial write 2012-04-29 18:09:43 +00:00
Aleksandar Fabijanic
e10566779e renamed FIFOBuffer => BasicFIFOBufer, FIFOBuffer typedef, renamed Bufer::allocated() => Buffer:capacity() to match STL convention 2012-04-29 02:37:54 +00:00
Aleksandar Fabijanic
d22ecbaa3e writEAble => writAble 2012-04-29 02:03:09 +00:00
Aleksandar Fabijanic
156a43150d fixed FIFOBuffer writable notifications and tests 2012-04-29 01:51:30 +00:00
Aleksandar Fabijanic
b82cb14dfc Buffer and FIFOBuffer performance optimizations 2012-04-28 04:32:35 +00:00
Aleksandar Fabijanic
d7306cc7d9 FIFOBuffer events and tests 2012-04-27 04:41:50 +00:00
Aleksandar Fabijanic
15d960b057 FIFO resize bugfix and more tests 2012-04-26 00:08:53 +00:00
Aleksandar Fabijanic
886af0816a FIFOBuffer implementation and tests 2012-04-25 04:43:01 +00:00