OutputDevice_Network(const std::string &host, const int port)
Constructor.
~OutputDevice_Network()
Destructor.
tcpip::Socket * mySocket
the socket to transfer the data
std::ostringstream myMessage
packet buffer
std::ostream & getOStream()
Returns the associated ostream.
virtual void postWriteHook()
Sends the data which was written to the string stream over the socket.
OutputDevice(const int defaultIndentation=0, const std::string &filename="")
Constructor.