Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::net::Connection Class Referenceabstract

#include <elm/net/ServerSocket.h>

Public Member Functions

virtual ~Connection (void)
 
virtual io::InStreamin (void)=0
 
virtual io::OutStreamout (void)=0
 

Detailed Description

This object represents a connection to a server from a client socket. It provides in and out streams for this connection.

Constructor & Destructor Documentation

elm::net::Connection::~Connection ( void  )
virtual

Close the connection

Member Function Documentation

io::InStream & elm::net::Connection::in ( void  )
pure virtual

Provides the input stream to get bytes from the client.

Returns
Server in stream.

Get the input stream of the connection.

Returns
Input stream.
io::InStream & elm::net::Connection::out ( void  )
pure virtual

Provides the output stream to send bytes to the client.

Returns
Server out stream.

Get the output stream of the connection.

Returns
Input stream.

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