common/socklistener.h File Reference

This file defines the SocketListener class. More...

#include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include "listener.h"
#include "connector.h"
#include "sockaddr.h"

Include dependency graph for socklistener.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SocketListener
 A class describing how to listen on any type of socket. More...


Detailed Description

This file defines the SocketListener class.

This is an abstract virtual class; you must instantiate an appropriate subclass (currently TCPListener or UDSListener) to do the work. These classes will implement the listen_for_incoming() functionality that will block waiting for an incoming socket connection, and return the correct subclass of Connector (in this case, also a subclass of SocketConnector) to then be handed into a Connection/Outlet/BiDirConn to be managed as an existing connection.

Definition in file socklistener.h.


Generated on Tue May 13 11:32:41 2008 for consmgr by  doxygen 1.5.5