From e5d38152805b0395ffbbbc456bae53455eee8036 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 30 Jul 2009 23:48:43 +0000 Subject: [PATCH] o removed bytesAvailable member function from inBuf because we nolonger check the bytes in the socket with an ioctl o removed incomingBytesPresent virtual function from inBufClient interface because we nolonger check the bytes in the socket with an ioctl --- src/cas/generic/inBuf.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/cas/generic/inBuf.h b/src/cas/generic/inBuf.h index e14bc4fb7..066a38964 100644 --- a/src/cas/generic/inBuf.h +++ b/src/cas/generic/inBuf.h @@ -51,7 +51,6 @@ public: // this is a hack for a Solaris IP kernel feature enum fillParameter { fpNone, fpUseBroadcastInterface }; virtual unsigned getDebugLevel () const = 0; - virtual bufSizeT incomingBytesPresent () const = 0; virtual fillCondition xRecv ( char *pBuf, bufSizeT nBytesToRecv, enum fillParameter parm, bufSizeT &nByesRecv ) = 0; virtual void hostName ( char *pBuf, unsigned bufSize ) const = 0; @@ -66,7 +65,6 @@ public: bufSizeT ioMinSizeIn ); virtual ~inBuf (); bufSizeT bytesPresent () const; - bufSizeT bytesAvailable () const; bool full () const; inBufClient::fillCondition fill ( inBufClient::fillParameter parm = inBufClient::fpNone ); @@ -107,17 +105,6 @@ inline bufSizeT inBuf::bytesPresent () const return this->bytesInBuffer - this->nextReadIndex; } -// -// inBuf::bytesAvailable() -// -inline bufSizeT inBuf::bytesAvailable () const -{ - bufSizeT bp; - bp = this->bytesPresent (); - bp += this->client.incomingBytesPresent (); - return bp; -} - // // inBuf::full() //