An input stream that is connected to a socket. More...


Public Member Functions | |
| inputStreamSocketAdapter (net::socket &sok) | |
| bool | eof () const |
| void | reset () |
| size_type | read (value_type *const data, const size_type count) |
| size_type | skip (const size_type count) |
| size_type | getBlockSize () |
An input stream that is connected to a socket.
| inputStreamSocketAdapter | ( | net::socket & | sok | ) |
| bool eof | ( | ) | const [virtual] |
Test for end of stream (no more data to read).
Implements inputStream.
| stream::size_type getBlockSize | ( | ) | [virtual] |
Return the preferred maximum block size when reading from or writing to this stream.
Reimplemented from stream.
References socket::getBlockSize().
| stream::size_type read | ( | value_type *const | data, | |
| const size_type | count | |||
| ) | [virtual] |
Read data from the stream.
| data | will receive the data read | |
| count | maximum number of bytes to read |
Implements inputStream.
| void reset | ( | ) | [virtual] |
Set the read pointer to the beginning of the stream.
Implements inputStream.
| stream::size_type skip | ( | const size_type | count | ) | [virtual] |
Skip a number of bytes.
| count | maximum number of bytes to ignore |
Implements inputStream.
1.6.2