support for FIFOBuffer in StreamSocket::read/writeBytes()

This commit is contained in:
Aleksandar Fabijanic
2012-05-19 05:16:42 +00:00
parent 9b952a29c7
commit 484510dec5
6 changed files with 246 additions and 12 deletions

View File

@@ -49,6 +49,7 @@ public:
void testEcho();
void testPoll();
void testAvailable();
void testFIFOBuffer();
void testConnect();
void testConnectRefused();
void testConnectRefusedNB();
@@ -68,6 +69,13 @@ public:
static CppUnit::Test* suite();
private:
void onReadable(bool& b);
void onWritable(bool& b);
int _readableToNot;
int _notToReadable;
int _writableToNot;
int _notToWritable;
};