BALL::TCPIOStream Class Reference

#include <BALL/SYSTEM/networking.h>

Inheritance diagram for BALL::TCPIOStream:
iostream

List of all members.


Public Member Functions

 TCPIOStream ()
 TCPIOStream (const String &hostname, const String &protocol)
 TCPIOStream (const String &hostname, Position port)

Detailed Description

This class provides a very thin layer around the asio (or boost::asio, depending on your setup) functions for handling asynchronous io.

Please use this class instead of asio directly whenever possible, since we want to encapsulate a number of details (asio - namespace, correct names of header files, ...) to allow boost-integrated asio as well as the pure library.


Constructor & Destructor Documentation

BALL::TCPIOStream::TCPIOStream (  )  [inline]
BALL::TCPIOStream::TCPIOStream ( const String hostname,
const String protocol 
) [inline]
BALL::TCPIOStream::TCPIOStream ( const String hostname,
Position  port 
) [inline]