Public Member Functions

zeus::IRemoteObject Class Reference

#include <IRemoteObject.hpp>

Inheritance diagram for zeus::IRemoteObject:
zeus::IZUnknown zeus::IRemoteObjectStub zeus::TAbstractRemoteObject zeus::TRemoteReference zeus::TAbstractStub zeus::TCommPipe zeus::TCommPipe_Stub zeus::TMessagePool_Stub zeus::TMessageServerConnection_Stub zeus::TNamedContext_Stub zeus::TMappedCommPipe

List of all members.

Public Member Functions

virtual void MQUALIFIER getClassName (IString &rName) const =0
virtual void MQUALIFIER getCodeModuleName (IString &rName) const =0
virtual Retval MQUALIFIER getConnectionParam (IString &rAddress, Uint &rPort) const =0
virtual Retval MQUALIFIER createStub (IRemoteObject *&rpObj)=0

Detailed Description

The remote object interface defines methods for invoking methods remotely and to access an object from a remote location.


Member Function Documentation

virtual Retval MQUALIFIER zeus::IRemoteObject::createStub ( IRemoteObject *&  rpObj ) [pure virtual]

This method is only used for remote references Creates a stub object out of the information of the remote object refefence

Parameters:
rpObj: Return parameter of the created object
Return values:
RET_NOERROR: Stub created
RET_REQUEST_FAILED: Could not create a stub out of this information

Implemented in zeus::TRemoteReference.

virtual void MQUALIFIER zeus::IRemoteObject::getClassName ( IString rName ) const [pure virtual]

Returns the classname of the wrapped object

Parameters:
rName: Return parameter

Implemented in zeus::TAbstractRemoteObject, zeus::TAbstractStub, and zeus::TRemoteReference.

virtual void MQUALIFIER zeus::IRemoteObject::getCodeModuleName ( IString rName ) const [pure virtual]

Returns the name of the codemodule for the wrapped object

Parameters:
rName: Return parameter

Implemented in zeus::TAbstractRemoteObject, zeus::TAbstractStub, and zeus::TRemoteReference.

virtual Retval MQUALIFIER zeus::IRemoteObject::getConnectionParam ( IString rAddress,
Uint &  rPort 
) const [pure virtual]

Gets all information about the running server such as address and port of the connection.

Parameters:
rAddress: Return parameter of the address
rPort: Return parameter of the port
Return values:
RET_NOERROR: Connection parameters returned
RET_REQUEST_FAILED: Could not get the connection

Implemented in zeus::TAbstractRemoteObject, zeus::TAbstractStub, and zeus::TRemoteReference.


The documentation for this class was generated from the following file:
 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:30