Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::TipcConnServer Class Reference

#include <tconn.h>

Inheritance diagram for SmartSockets::TipcConnServer::

SmartSockets::TipcConn List of all members.

Public Methods

virtual ~TipcConnServer () throw ()
 Destructor.

virtual TipcConnaccept () throw (TipcException)
 TipcConnServer (const char *link_name) throw (TipcException)
 TipcConnServer (T_IPC_CONN connection, bool destroy_flag=TRUE) throw (TipcException)

Detailed Description

TipcConnServer - user class for a server connection The TipcConnServer class calls the C API function TipcConnServerCreate at construction, passing the resulting T_IPC_CONN handle up to the TipcConn base class, where it is managed.

See also:
the SmartSockets Application Programming Interface for information on TipcConnCreate and TipcConnServerCreate


Constructor & Destructor Documentation

SmartSockets::TipcConnServer::TipcConnServer const char *    link_name throw (TipcException)
 

Constructors

Parameters:
link_name  - logical connection name
connection  - the C Style T_IPC_CONN handle
destroy_flag  - the flag for destroy
Exceptions:
TipcConnException 


Member Function Documentation

virtual TipcConn* SmartSockets::TipcConnServer::accept   throw (TipcException) [virtual]
 

Accepts a connection from a client and returns a pointer to a new TipcConn object. It is your responsibility to delete this object when finished.

Returns:
the pointer to the TipcConn object
Exceptions:
TipcConnException 


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:55 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001