Main Page   Class Hierarchy   Compound List   File List   Compound Members  

RIPCFactory Class Reference

#include <RIPCFactory.h>

Inheritance diagram for RIPCFactory:

RIPCClientFactory RIPCServerFactory List of all members.

Public Methods

virtual RIPCSessioncreate (char const *host, int port)=0

Detailed Description

RIPC session factory. This class is used to create session instances. To get reference to the factory instance itself, use src/client/RIPCClientFactory::getInstance() or src/server/RIPCServerFactory::getInstance() methods.


Member Function Documentation

virtual RIPCSession* RIPCFactory::create char const *    host,
int    port
[pure virtual]
 

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

Parameters:
address  server host address (ignored for local sessions)
port  server port (ignored for local sessions)
Returns:
session object

Implemented in RIPCClientFactory, and RIPCServerFactory.


The documentation for this class was generated from the following file:
Generated on Tue Jul 8 20:27:57 2003 for RIPC by doxygen1.2.15