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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user