Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MPS::SimplTransport::SimplConnection Class Reference

Inheritance diagram for MPS::SimplTransport::SimplConnection:

Inheritance graph
[legend]
Collaboration diagram for MPS::SimplTransport::SimplConnection:

Collaboration graph
[legend]
List of all members.

Public Methods

 SimplConnection (int _oid, FCID const &_other, MPS::Address const &a)
virtual MPS::OutputStreamgetOutputStream ()
virtual MPS::InputStreamgetInputStream ()
virtual void releaseOutputStream (MPS::OutputStream *stream)
virtual void releaseInputStream (MPS::InputStream *stream)

Private Attributes

int oid
FCID other

Constructor & Destructor Documentation

MPS::SimplTransport::SimplConnection::SimplConnection ( int _oid,
FCID const & _other,
MPS::Address const & a ) [inline]
 

Constructs a connection to the given OID at the named SIMPL process.

Parameters:
_oid   the OID to connect to
_other   the SIMPL process to connect to
a   the MPS::Address to pass on to our superclass, MPS::Connection

Definition at line 150 of file SimplTransport.cc.


Member Function Documentation

MPS::InputStream * MPS::SimplTransport::SimplConnection::getInputStream ( ) [inline, virtual]
 

Returns a readable-stream that returns bytes from a message we received from the object we are connected to.

Reimplemented from MPS::Connection.

Definition at line 168 of file SimplTransport.cc.

MPS::OutputStream * MPS::SimplTransport::SimplConnection::getOutputStream ( ) [inline, virtual]
 

Returns a writeable-stream that will send a message to the object we are connected to.

Reimplemented from MPS::Connection.

Definition at line 159 of file SimplTransport.cc.

void MPS::SimplTransport::SimplConnection::releaseInputStream ( MPS::InputStream * stream ) [inline, virtual]
 

Signals that the caller is finished with an InputStream obtained via the getInputStream() method.

Parameters:
stream   the stream to release

Reimplemented from MPS::Connection.

Definition at line 181 of file SimplTransport.cc.

void MPS::SimplTransport::SimplConnection::releaseOutputStream ( MPS::OutputStream * stream ) [inline, virtual]
 

Signals that the caller is finished with an OutputStream obtained via the getOutputStream() method.

Parameters:
stream   the stream to release

Reimplemented from MPS::Connection.

Definition at line 180 of file SimplTransport.cc.


Member Data Documentation

int MPS::SimplTransport::SimplConnection::oid [private]
 

OID this connection is connected to.

Definition at line 139 of file SimplTransport.cc.

FCID MPS::SimplTransport::SimplConnection::other [private]
 

SIMPL process that holds the object we are connected to.

Definition at line 140 of file SimplTransport.cc.


The documentation for this class was generated from the following file:
Generated at Wed Aug 15 01:05:32 2001 for mps-cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001