#include <CommPipe_Skel.h>
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) |
Skeleton of a remote pipe. Implements multiple access structure.
| TCommPipe_Skel::TCommPipe_Skel | ( | TCommPipe & | rInstance ) |
Creats a skeleton for the communication pipe
| TCommPipe_Skel::~TCommPipe_Skel | ( | ) | [protected, virtual] |
Destroys the communication pipe skeleton
| 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.
| rRequest,: | Request of the client |
| rResponse | : Respone to the client |
| 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.