/build/buildd-libassa_3.5.0-1.1-sparc-gAMlZF/libassa-3.5.0/assa/Acceptor.h File Reference

Acceptor encapsulates generic strategy for accepting TPC/IP connection requests. More...

#include "assa/Logger.h"
#include "assa/EventHandler.h"
#include "assa/Address.h"
#include "assa/Reactor.h"
#include "assa/ServiceHandler.h"
Include dependency graph for Acceptor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ASSA::Acceptor< SERVICE_HANDLER, PEER_ACCEPTOR >

Namespaces

namespace  ASSA

Defines

#define SH   SERVICE_HANDLER
#define PA   PEER_ACCEPTOR

Detailed Description

Acceptor encapsulates generic strategy for accepting TPC/IP connection requests.

This abstract class implementes the generic strategy for passive initializing communication services.

SERVICE_HANDLER is the type of service. It shall be a type derived from ServiceHandler interface class.

PEER_ACCEPTOR is the type of concrete Socket class - particular transport mechanism used by the Acceptor to passively establish the connection. It should be derived from Socket interface class.

See also:
Reactor
ServiceHandler

Definition in file Acceptor.h.


Define Documentation

#define PA   PEER_ACCEPTOR
#define SH   SERVICE_HANDLER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Dec 23 15:56:04 2009 for libassa by  doxygen 1.6.1