Main Page | Class Hierarchy | Class List | File List | Class Members

RIPCServerFactory Class Reference

#include <RIPCServerFactory.h>

Inheritance diagram for RIPCServerFactory:

RIPCFactory List of all members.

Public Member Functions

RIPCSessioncreate (char const *host, int port, int max_attempts=100)
 RIPCServerFactory (RIPCServer &)

Static Public Member Functions

RIPCServerFactorygetInstance ()

Protected Attributes

RIPCServer & server

Static Protected Attributes

RIPCServerFactory theFactory

Detailed Description

Factory for creation local sessions


Member Function Documentation

RIPCSession* RIPCServerFactory::create char const *  host,
int  port,
int  max_attempts = 100
[virtual]
 

Create session instance. For client session, connection with server is established.

Parameters:
host server host address (ignored for local sessions)
port server port (ignored for local sessions)
max_attempts maximal connection attemps (performed with 1 second delay). This parameter makes sense opnly for client sessions.
Returns:
session object

Implements RIPCFactory.


The documentation for this class was generated from the following file:
Generated on Wed Nov 26 14:58:19 2003 for RIPC by doxygen 1.3.5