fawkes::NetworkIncomingConnectionHandler Class Reference

Interface for handling incoming connections. More...

#include <netcomm/utils/incoming_connection_handler.h>

Inheritance diagram for fawkes::NetworkIncomingConnectionHandler:

[legend]
List of all members.

Public Member Functions

virtual ~NetworkIncomingConnectionHandler ()
 Virtual destructor.
virtual void add_connection (StreamSocket *s)=0 throw ()
 Add an incoming connection.

Detailed Description

Interface for handling incoming connections.

Author:
Tim Niemueller

Definition at line 31 of file incoming_connection_handler.h.


Constructor & Destructor Documentation

fawkes::NetworkIncomingConnectionHandler::~NetworkIncomingConnectionHandler (  )  [virtual]

Virtual destructor.

Definition at line 40 of file incoming_connection_handler.cpp.


Member Function Documentation

void fawkes::NetworkIncomingConnectionHandler::add_connection ( StreamSocket s  )  throw () [pure virtual]

Add an incoming connection.

This is called for instance by the NetworkAcceptorThread whenever a new connection has been accepted.

Parameters:
s socket for new connection

Implemented in firevision::FuseServer, and fawkes::FawkesNetworkServerThread.

Referenced by fawkes::NetworkAcceptorThread::loop().


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:32:52 2011 for Fawkes API by  doxygen 1.4.7