My Project
 All Classes Functions Variables Pages
Public Member Functions | List of all members
SocketInputRecordStreambuf Class Reference
Inheritance diagram for SocketInputRecordStreambuf:

Public Member Functions

 SocketInputRecordStreambuf (Socket socket, size_t dataLength, size_t bufferSize=512)
 Create a socket input record streambuf. More...
 
int_type underflow ()
 Handle the request to read data from the stream but we need more data from the source.
 

Constructor & Destructor Documentation

SocketInputRecordStreambuf::SocketInputRecordStreambuf ( Socket  socket,
size_t  dataLength,
size_t  bufferSize = 512 
)

Create a socket input record streambuf.

Parameters
[in]socketThe socket we will be reading from.
[in]dataLengthThe size of a record.
[in]bufferSizeThe size of the buffer we wish to allocate to hold data.

The documentation for this class was generated from the following files: