Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Protocol Class Reference

Protocols are used for processing transactional requests such as those performed thru modules, but thru a TCP protocol. resolved network protocol session interface. More...

#include <bayonne.h>

Inheritance diagram for Protocol:

Keydata InetHostAddress ThreadLock List of all members.

Public Methods

 Protocol (const char *keypath, tpport_t port)
 ~Protocol ()
InetHostAddress getAddress (void)
 Get inet host address for this service. More...

tpport_t getPort (void)
 Get inet port address of this service. More...

SemaphoregetSessions (void)
 Get client connection limiting semaphore that is used as the starting semaphore for the client connection thread. More...


Friends

class  Resolver

Detailed Description

Protocols are used for processing transactional requests such as those performed thru modules, but thru a TCP protocol. resolved network protocol session interface.

These support the resolver thread.

Author(s):
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

Protocol::Protocol ( const char * keypath,
tpport_t port )
 

Protocol::~Protocol ( )
 


Member Function Documentation

InetHostAddress Protocol::getAddress ( void )
 

Get inet host address for this service.

Returns:
inet host address of server.

tpport_t Protocol::getPort ( void ) [inline]
 

Get inet port address of this service.

Returns:
inet port address of service.

Semaphore * Protocol::getSessions ( void ) [inline]
 

Get client connection limiting semaphore that is used as the starting semaphore for the client connection thread.

Returns:
semaphore session limiter.


Friends And Related Function Documentation

class Resolver [friend]
 


The documentation for this class was generated from the following file:
Generated at Sun Jan 7 08:42:08 2001 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000