Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
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

◆ ~Connection()

~Connection ( void  )
virtual

Close the connection

Member Function Documentation

◆ in()

io::InStream & 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.

◆ out()

io::InStream & 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: