Fawkes API  Fawkes Development Version
fawkes::NetworkIncomingConnectionHandler Class Referenceabstract

Interface for handling incoming connections. More...

#include <>>

Inheritance diagram for fawkes::NetworkIncomingConnectionHandler:

Public Member Functions

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

Detailed Description

Interface for handling incoming connections.

Author
Tim Niemueller

Definition at line 31 of file incoming_connection_handler.h.

Constructor & Destructor Documentation

◆ ~NetworkIncomingConnectionHandler()

fawkes::NetworkIncomingConnectionHandler::~NetworkIncomingConnectionHandler ( )
virtual

Virtual destructor.

Definition at line 40 of file incoming_connection_handler.cpp.

Member Function Documentation

◆ add_connection()

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
ssocket for new connection

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

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


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