#include <AbstractRemoteObject.h>
List of all members.
Detailed Description
The abstract remote object defines how to create the remote access for an object. Each remote object should inherit this class.
Constructor & Destructor Documentation
| TAbstractRemoteObject::TAbstractRemoteObject |
( |
) |
|
Creates the abstract remote object
| TAbstractRemoteObject::~TAbstractRemoteObject |
( |
) |
[protected, virtual] |
Destroys the abstract remote object
Member Function Documentation
| virtual void MQUALIFIER zeus::TAbstractRemoteObject::addRef |
( |
) |
const [virtual] |
| virtual Retval MQUALIFIER zeus::TAbstractRemoteObject::askForInterface |
( |
const InterfaceID & |
rInterfaceID, |
|
|
IZUnknown *& |
rpIface |
|
) |
| [virtual] |
| virtual Retval zeus::TAbstractRemoteObject::connect |
( |
) |
[pure virtual] |
| virtual Retval zeus::TAbstractRemoteObject::connect |
( |
const IString & |
rAddress, |
|
|
Uint |
uiPort |
|
) |
| [pure virtual] |
| Retval TAbstractRemoteObject::disconnect |
( |
) |
[virtual] |
Disconnects or kills the remote object server (skeleton). After this call, all remote access connections will be released.
- Return values:
-
| RET_NOERROR | : Connection closed |
| RET_REQUEST_FAILED | : Object was not connected |
| virtual void MQUALIFIER zeus::TAbstractRemoteObject::getClassName |
( |
IString & |
rName ) |
const [pure virtual] |
| Retval TAbstractRemoteObject::getClientSocket |
( |
Uint |
uiThreadID, |
|
|
TSocket *& |
rpSocket |
|
) |
| const [protected] |
Returns the client socket of the connected client. The thread ID is used to distinguish between clients. Use TreadManager to receive the thread id in the running program context.
| virtual void MQUALIFIER zeus::TAbstractRemoteObject::getCodeModuleName |
( |
IString & |
rName ) |
const [pure virtual] |
Returns the name of the codemodule for the wrapped object
- Parameters:
-
Implements zeus::IRemoteObject.
| Retval MQUALIFIER TAbstractRemoteObject::getConnectionParam |
( |
IString & |
rAddress, |
|
|
Uint & |
rPort |
|
) |
| const [virtual] |
| bool TAbstractRemoteObject::isRunning |
( |
) |
const |
Checks if the skeleton of the remote object is running
| virtual void MQUALIFIER zeus::TAbstractRemoteObject::release |
( |
) |
const [virtual] |
Member Data Documentation
Skeleton in case of binding the object for remote access.
The documentation for this class was generated from the following files: