Public Member Functions
ecl::SocketServerStream Class Reference

Convenience class for SocketServer TextStream definitions. More...

#include <socket_streams.hpp>

Inheritance diagram for ecl::SocketServerStream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SocketServerStream ()
 Default constructor, underlying device must be manually opened.
 SocketServerStream (const unsigned int &port_number) throw (StandardException)
 Convenience constructor for output file text streams.
virtual ~SocketServerStream ()

Detailed Description

Convenience class for SocketServer TextStream definitions.

This class provides a convenient handle for both writing and opening TextStream<SocketServer> objects. It has no further functionality.

See also:
TextStream.

Definition at line 90 of file socket_streams.hpp.


Constructor & Destructor Documentation

Default constructor, underlying device must be manually opened.

This must open the device manually via device().open() as you would do if using a TextStream.

Definition at line 98 of file socket_streams.hpp.

ecl::SocketServerStream::SocketServerStream ( const unsigned int &  port_number) throw (StandardException) [inline]

Convenience constructor for output file text streams.

This constructor enables RAII style construction of the underlying device (this makes it distinct from a generic TextStream<OFile> object).

Parameters:
port_number: port number of the connection.
Exceptions:
StandardException: throws if the connection failed to open.

Definition at line 110 of file socket_streams.hpp.

virtual ecl::SocketServerStream::~SocketServerStream ( ) [inline, virtual]

Definition at line 118 of file socket_streams.hpp.


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


ecl_streams
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:54