Public Member Functions | Protected Member Functions

zeus::TCommPipe_Skel Class Reference

#include <CommPipe_Skel.h>

Inheritance diagram for zeus::TCommPipe_Skel:
zeus::TAbstractSkel zeus::TThread zeus::TZObject zeus::IThread zeus::IZUnknown zeus::IZUnknown

List of all members.

Public Member Functions

 TCommPipe_Skel (TCommPipe &rInstance)
void dispatch2 (const TCCTPRequest &rRequest, TCCTPResponse &rResponse)

Protected Member Functions

virtual ~TCommPipe_Skel ()
virtual Retval dispatchCommand (const IRemoteMethodCall &rMethod, IRemoteMethodCall *&rpMethodreturn)
virtual void startNewHandler (TSocket &rClient)

Detailed Description

Skeleton of a remote pipe. Implements multiple access structure.


Constructor & Destructor Documentation

TCommPipe_Skel::TCommPipe_Skel ( TCommPipe rInstance )

Creats a skeleton for the communication pipe

TCommPipe_Skel::~TCommPipe_Skel (  ) [protected, virtual]

Destroys the communication pipe skeleton


Member Function Documentation

SKEL_DISP_SWITCH_END SKEL_DISPATCH_END void TCommPipe_Skel::dispatch2 ( const TCCTPRequest rRequest,
TCCTPResponse rResponse 
)

The dispatch2Method does the requests and responses of commands sent by clients. This method takes directly the protocol objects. This is a faster way as the common remote method invocation.

Parameters:
rRequest,:Request of the client
rResponse: Respone to the client
Return values:
RET_NOERROR: dispatching performed (may return error to the client)
RET_REQUEST_FAILED: No dispatching was possible
virtual Retval zeus::TCommPipe_Skel::dispatchCommand ( const IRemoteMethodCall rMethod,
IRemoteMethodCall *&  rpMethodreturn 
) [protected, virtual]

Implements zeus::TAbstractSkel.

void TCommPipe_Skel::startNewHandler ( TSocket rClient ) [protected, virtual]

See TAbstractSkel

Reimplemented from zeus::TAbstractSkel.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:24