fawkes::NetworkIncomingConnectionHandler Class Reference
Interface for handling incoming connections. More...
#include <netcomm/utils/incoming_connection_handler.h>
Inheritance diagram for fawkes::NetworkIncomingConnectionHandler:

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.
Definition at line 31 of file incoming_connection_handler.h.
Constructor & Destructor Documentation
| fawkes::NetworkIncomingConnectionHandler::~NetworkIncomingConnectionHandler | ( | ) | [virtual] |
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 FuseServer, and fawkes::FawkesNetworkServerThread.
Referenced by fawkes::NetworkAcceptorThread::loop().
The documentation for this class was generated from the following files:
- src/libs/netcomm/utils/incoming_connection_handler.h
- src/libs/netcomm/utils/incoming_connection_handler.cpp

