2005/5/9

     
 

class Connection

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::rdmi::Connection Class Reference

#include <Connection.h>

Inheritance diagram for acdkx::rdmi::Connection:

acdkx::rdmi::TcpServerConnection List of all members.

Detailed Description

Connection is a representation of a statefull connection between one server and one client.


Public Member Functions

virtual RString getRemoteServerId ()=0
virtual RString getLocalServerId ()=0
virtual acdk::io::RReader getReader ()=0
virtual acdk::io::RWriter getWriter ()=0
virtual void startWriteMessage ()=0
 may prepare a connection will be called before getWriter()

virtual void endWriteMessage ()=0
 Message was written may flush/close Writer.

virtual void startReadMessage ()=0
virtual void endReadMessage ()=0
virtual void close ()=0
 close the connection

virtual bool isClosed ()=0
virtual bool dataAvailable ()=0


Member Function Documentation

virtual void acdkx::rdmi::Connection::close  )  [pure virtual]
 

close the connection

Implemented in acdkx::rdmi::TcpServerConnection.

virtual bool acdkx::rdmi::Connection::dataAvailable  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual void acdkx::rdmi::Connection::endReadMessage  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual void acdkx::rdmi::Connection::endWriteMessage  )  [pure virtual]
 

Message was written may flush/close Writer.

Implemented in acdkx::rdmi::TcpServerConnection.

virtual RString acdkx::rdmi::Connection::getLocalServerId  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual acdk::io::RReader acdkx::rdmi::Connection::getReader  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual RString acdkx::rdmi::Connection::getRemoteServerId  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual acdk::io::RWriter acdkx::rdmi::Connection::getWriter  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual bool acdkx::rdmi::Connection::isClosed  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual void acdkx::rdmi::Connection::startReadMessage  )  [pure virtual]
 

Implemented in acdkx::rdmi::TcpServerConnection.

virtual void acdkx::rdmi::Connection::startWriteMessage  )  [pure virtual]
 

may prepare a connection will be called before getWriter()

Implemented in acdkx::rdmi::TcpServerConnection.