#include <otcpstream.hpp>
Inheritance diagram for MynahSA::OTCPStream:
Public Member Functions | |
OTCPStream (int s) | |
constructor - takes an input stream | |
OTCPStream (const OTCPStream &s) | |
copy constructor - needed to work around unspecified copy constructor behavior in SUNPro c++ | |
~OTCPStream () | |
destructor - note: TCP is not freed | |
virtual OStreamBase & | operator<< (const char) |
ostream char | |
virtual OStreamBase & | operator<< (const unsigned char) |
ostream unsigned char | |
virtual OStreamBase & | operator<< (const short) |
ostream short | |
virtual OStreamBase & | operator<< (const unsigned short) |
ostream unsigned char | |
virtual OStreamBase & | operator<< (const bool) |
ostream bool | |
virtual OStreamBase & | operator<< (const int) |
ostream int | |
virtual OStreamBase & | operator<< (const unsigned int) |
ostream unsigned char | |
virtual OStreamBase & | operator<< (const double) |
ostream double | |
virtual OStreamBase & | operator<< (const float) |
ostream float | |
virtual OStreamBase & | operator<< (const std::string &s) |
output streaming of std strings | |
void | flush () |
force the internal buffers to be flushed |
This class does not take ownership of the file descriptor passed into it.
This class buffers data prior to writes - It is recommended that the buffer size be close to the path mtu. No automatic mechanism is provided for handling this, and one may be introduced in the future.
Definition at line 42 of file otcpstream.hpp.