BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::TCPIOStream Class Reference

#include <BALL/SYSTEM/networking.h>

Inheritance diagram for BALL::TCPIOStream:

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.

Definition at line 35 of file networking.h.

Constructor & Destructor Documentation

BALL::TCPIOStream::TCPIOStream ( )
inline

Definition at line 39 of file networking.h.

BALL::TCPIOStream::TCPIOStream ( const String hostname,
const String protocol 
)
inline

Definition at line 44 of file networking.h.

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

Definition at line 49 of file networking.h.