#include <CommPipe_Stub.h>
Public Member Functions | |
| TCommPipe_Stub () | |
| virtual Retval MQUALIFIER | connect (const IString &rAddress, Uint uiPort) |
| virtual Retval MQUALIFIER | sendMessage (IMessage &rMessage) |
| virtual void MQUALIFIER | getPipeName (IString &rName) const |
| virtual Uint MQUALIFIER | getPriority () const |
| virtual bool MQUALIFIER | isLocked () const |
| virtual bool MQUALIFIER | hasRemoteAccess () const |
| STUB_CLASS_DECL (TCommPipe_Stub, L"TCommPipe_Stub") | |
| virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface) |
| virtual void MQUALIFIER | addRef () const |
| virtual void MQUALIFIER | release () const |
Protected Member Functions | |
| virtual | ~TCommPipe_Stub () |
| void | lock () |
| void | unlock () |
Implements the Communication Pipe Interface. All calls are delegated over a network to a remote communication pipe.
| TCommPipe_Stub::TCommPipe_Stub | ( | ) |
Creates a cell registry query object
| TCommPipe_Stub::~TCommPipe_Stub | ( | ) | [protected, virtual] |
Destroys a cell registry query object
| virtual void MQUALIFIER zeus::TCommPipe_Stub::addRef | ( | ) | const [virtual] |
Reimplemented from zeus::TAbstractStub.
| virtual Retval MQUALIFIER zeus::TCommPipe_Stub::askForInterface | ( | const InterfaceID & | rInterfaceID, |
| IZUnknown *& | rpIface | ||
| ) | [virtual] |
Reimplemented from zeus::TAbstractStub.
| Retval MQUALIFIER TCommPipe_Stub::connect | ( | const IString & | rAddress, |
| Uint | uiPort | ||
| ) | [virtual] |
connects to the remote object
| rAddress | : The Address of the pipe host |
| uiPort | : Port of the pipe host |
Reimplemented from zeus::TAbstractStub.
| virtual void MQUALIFIER zeus::TCommPipe_Stub::getPipeName | ( | IString & | rName ) | const [virtual] |
Gets the Name of the pipe
| rName | : Return parameter of the name |
Implements zeus::ICommPipe.
| virtual Uint MQUALIFIER zeus::TCommPipe_Stub::getPriority | ( | ) | const [virtual] |
| bool MQUALIFIER TCommPipe_Stub::hasRemoteAccess | ( | ) | const [virtual] |
see ICommPipe
Implements zeus::ICommPipe.
| bool MQUALIFIER TCommPipe_Stub::isLocked | ( | ) | const [virtual] |
Checks if the pipe is open or locked
| false | : open and ready for communication |
| true | : locked |
Implements zeus::ICommPipe.
| void TCommPipe_Stub::lock | ( | ) | [protected] |
Locks the pipe if an error occurs
| virtual void MQUALIFIER zeus::TCommPipe_Stub::release | ( | ) | const [virtual] |
Reimplemented from zeus::TAbstractStub.
| Retval MQUALIFIER TCommPipe_Stub::sendMessage | ( | IMessage & | rMessage ) | [virtual] |
see ICommPipe
Implements zeus::ICommPipe.
| zeus::TCommPipe_Stub::STUB_CLASS_DECL | ( | TCommPipe_Stub | , |
| L"TCommPipe_Stub" | |||
| ) |
| void TCommPipe_Stub::unlock | ( | ) | [protected] |
Unlocks the pipe if the connection has been reset