|
psocksxx 1.1.1
|
base class for socket stream controller classes More...
#include <iosocks.h>
Public Member Functions | |
| virtual | ~iosocks () throw () |
| destructor | |
| bool | timedout () const throw () |
| get the timed-out status flag value | |
| const timeval * | timeout (time_t sec, suseconds_t usec) throw () |
| set the timeout value for stream communications | |
| void * | clear_timeout () throw () |
| clear the timeout value | |
Protected Member Functions | |
| iosocks () throw () | |
| empty default constructor | |
base class for socket stream controller classes
This class holds the common methods for socket stream controller classes.
|
inlinevirtual | ||||||||||||
destructor
Does nothing.
|
inlineprotected | ||||||||||||
empty default constructor
Empty default constructor so that derived classes through virtual inheritance does not have to call the constructor.
| void * psocksxx::iosocks::clear_timeout | ( | ) | ||||
| throw | ( | ) | ||||
clear the timeout value
0) after clearing the timeoutThis will clear any timeout values set for this stream using timeout().
| bool psocksxx::iosocks::timedout | ( | ) | const | |||
| throw | ( | ) | ||||
get the timed-out status flag value
true if timed-out flag is set or false otherwise.Returns the timed-out status for the associated socket stream buffer.
| const timeval * psocksxx::iosocks::timeout | ( | time_t | sec, | |||
| suseconds_t | usec ) | |||||
| throw | ( | ) | ||||
set the timeout value for stream communications
| sec | seconds |
| usec | microseconds |
Wrapper method for sockstreambuf::timeout() to set the timeout value for stream communications.