casDGClient::inBufBytesAvailable renamed to

casDGClient :: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
This commit is contained in:
Jeff Hill
2009-07-30 23:29:43 +00:00
parent 72e1dba496
commit f4ec20c8f0

View File

@@ -707,13 +707,15 @@ void casDGClient::inBufFill ( inBufClient::fillParameter parm )
this->in.fill ( parm );
}
bufSizeT casDGClient::inBufBytesAvailable () const
bufSizeT casDGClient ::
inBufBytesPending () const
{
epicsGuard < epicsMutex > guard ( this->mutex );
return this->in.bytesAvailable ();
return this->in.bytesPresent ();
}
bufSizeT casDGClient::outBufBytesPresent () const
bufSizeT casDGClient ::
outBufBytesPending () const
{
epicsGuard < epicsMutex > guard ( this->mutex );
return this->out.bytesPresent ();