psocksxx  1.0.0
Public Member Functions | List of all members
psocksxx::iosockstream Class Reference

Input and Output controller class for socket streams. More...

#include <iosockstream.h>

Inheritance diagram for psocksxx::iosockstream:
psocksxx::isockstream psocksxx::osockstream psocksxx::iosocks psocksxx::iosocks psocksxx::lsockstream psocksxx::nsockstream psocksxx::tcpnsockstream psocksxx::udpnsockstream

Public Member Functions

 iosockstream (sockstreambuf *ssb) throw ()
 constructor More...
 
virtual ~iosockstream () throw ()
 destructor
 
bool timedout () const throw ()
 get the timed-out status for this stream More...
 
- Public Member Functions inherited from psocksxx::isockstream
 isockstream (sockstreambuf *ssb) throw ()
 constructor More...
 
virtual ~isockstream () throw ()
 destructor
 
- Public Member Functions inherited from psocksxx::iosocks
virtual ~iosocks () throw ()
 destructor More...
 
bool timedout () const throw ()
 get the timed-out status flag value More...
 
const timeval * timeout (time_t sec, suseconds_t usec) throw ()
 set the timeout value for stream communications More...
 
void * clear_timeout () throw ()
 clear the timeout value More...
 
- Public Member Functions inherited from psocksxx::osockstream
 osockstream (sockstreambuf *ssb) throw ()
 constructor More...
 
virtual ~osockstream () throw ()
 destructor
 

Additional Inherited Members

- Protected Member Functions inherited from psocksxx::iosocks
 iosocks () throw ()
 empty default constructor More...
 

Detailed Description

Input and Output controller class for socket streams.

This merges the two input and output controller classes to create a single interface for controlling both input and output socket streams.

Constructor & Destructor Documentation

psocksxx::iosockstream::iosockstream ( sockstreambuf ssb)
throw (
)
inline

constructor

Parameters
ssbsocket stream buffer

This constructor simply initialises the parent classes with the passed in socket stream buffer

Member Function Documentation

bool psocksxx::iosockstream::timedout ( ) const
throw (
)
inline

get the timed-out status for this stream

Returns
boolean true if timed-out flag is set or false otherwise.

Returns the timed-out status.