Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::OTCPStream Class Reference

#include <otcpstream.hpp>

Inheritance diagram for MynahSA::OTCPStream:

Inheritance graph
[legend]
Collaboration diagram for MynahSA::OTCPStream:

Collaboration graph
[legend]
List of all members.

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 OStreamBaseoperator<< (const char)
 ostream char
virtual OStreamBaseoperator<< (const unsigned char)
 ostream unsigned char
virtual OStreamBaseoperator<< (const short)
 ostream short
virtual OStreamBaseoperator<< (const unsigned short)
 ostream unsigned char
virtual OStreamBaseoperator<< (const bool)
 ostream bool
virtual OStreamBaseoperator<< (const int)
 ostream int
virtual OStreamBaseoperator<< (const unsigned int)
 ostream unsigned char
virtual OStreamBaseoperator<< (const double)
 ostream double
virtual OStreamBaseoperator<< (const float)
 ostream float
virtual OStreamBaseoperator<< (const std::string &s)
 output streaming of std strings
void flush ()
 force the internal buffers to be flushed

Detailed Description

class OTCPStream is an output stream designed to place the builtin C++ types onto an TCP stream

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.


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