server/client flag, _lastSegmentedMessageType != 0 comparison fix

This commit is contained in:
Matej Sekoranja
2014-07-22 00:35:29 +02:00
parent 3050323193
commit c01b928836
8 changed files with 44 additions and 21 deletions

View File

@@ -68,10 +68,11 @@ namespace epics {
std::size_t sendBufferSize,
bool blocking = false):
AbstractCodec(
false,
std::tr1::shared_ptr<epics::pvData::ByteBuffer>(new ByteBuffer(receiveBufferSize)),
std::tr1::shared_ptr<epics::pvData::ByteBuffer>(new ByteBuffer(sendBufferSize)),
sendBufferSize/10,
blocking ),
blocking),
_closedCount(0),
_invalidDataStreamCount(0),
_scheduleSendCount(0),