zeus::TMessagePool_Stub Class Reference

#include <MessagePool_Stub.h>

Inheritance diagram for zeus::TMessagePool_Stub:

zeus::TAbstractStub zeus::IMessagePool zeus::TZObject zeus::IRemoteObjectStub zeus::IZUnknown zeus::IZUnknown zeus::IRemoteObject zeus::IZUnknown

List of all members.

Public Member Functions

 TMessagePool_Stub ()
virtual Retval MQUALIFIER createConnectionPipe (const IString &rPipeName)
virtual Retval MQUALIFIER getConnectionPipe (const IString &rPipeName, IRemoteObject *&rpPipe) const
virtual Retval MQUALIFIER sendMessage (const IString &rPipeName, const ISerializable &rMessage)
virtual Retval MQUALIFIER receiveMessage (const IString &rPipeName, ISerializable *&rpMessage)
virtual Retval MQUALIFIER askForInterface (Uint uiInterfaceID, IZUnknown *&rpIface)
virtual void MQUALIFIER addRef () const
virtual void MQUALIFIER release () const
 STUB_CLASS_DECL (TMessagePool_Stub,"TMessagePool_Stub")

Protected Member Functions

virtual ~TMessagePool_Stub ()


Constructor & Destructor Documentation

TMessagePool_Stub::TMessagePool_Stub (  ) 

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


Member Function Documentation

Retval MQUALIFIER TMessagePool_Stub::createConnectionPipe ( const IString rPipeName  )  [virtual]

creates a connection pipe by name. If a pipe with this name already exists the method sucerssfully returns .

Parameters:
rPipeName : Name of the pipe
Return values:
RET_NOERROR : Pipe created or exists already
RET_REQUEST_FAILED : Could not create the pipe

Implements zeus::IMessagePool.

Retval MQUALIFIER TMessagePool_Stub::getConnectionPipe ( const IString rPipeName,
IRemoteObject *&  rpPipe 
) const [virtual]

returns a connection pipe by name.

Parameters:
rPipeName : Name of the pipe
rpPipe,: Return parameter (interface ICommPipe)
Return values:
RET_NOERROR : Pipe returned
RET_REQUEST_FAILED : Could not create the pipe

Implements zeus::IMessagePool.

Retval MQUALIFIER TMessagePool_Stub::sendMessage ( const IString rPipeName,
const ISerializable rMessage 
) [virtual]

sends a message to the named pipe

Parameters:
rPipeName : Name of the pipe
rMessage : Message to send
Return values:
RET_NOERROR : message sent
RET_REQUEST_FAILED : Could not send the message

Implements zeus::IMessagePool.

Retval MQUALIFIER TMessagePool_Stub::receiveMessage ( const IString rPipeName,
ISerializable *&  rpMessage 
) [virtual]

tries to receive a message from a named pipe

Parameters:
rPipeName : Name of the pipe
rMessage : Return parameter
Return values:
RET_NOERROR : message received
RET_REQUEST_FAILED : Could not receive a message

Implements zeus::IMessagePool.

virtual Retval MQUALIFIER zeus::TMessagePool_Stub::askForInterface ( Uint  uiInterfaceID,
IZUnknown *&  rpIface 
) [virtual]

Reimplemented from zeus::TAbstractStub.

virtual void MQUALIFIER zeus::TMessagePool_Stub::addRef (  )  const [virtual]

See also:
IZUnknown::addRef

Reimplemented from zeus::TAbstractStub.

virtual void MQUALIFIER zeus::TMessagePool_Stub::release (  )  const [virtual]

See also:
IZUnknown::release

Reimplemented from zeus::TAbstractStub.

zeus::TMessagePool_Stub::STUB_CLASS_DECL ( TMessagePool_Stub  ,
"TMessagePool_Stub"   
)


The documentation for this class was generated from the following files:


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Oct 28 21:42:32 2009