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

FastmsgLink Class Reference

#include <FastmsgLink.h>

Inheritance diagram for FastmsgLink:

Inheritance graph
[legend]
Collaboration diagram for FastmsgLink:

Collaboration graph
[legend]
List of all members.

Public Methods

 FastmsgLink (string const &serverName, MPS::Address const &a)
virtual MPS::OutputStreamgetOutputStream ()
virtual MPS::InputStreamgetInputStream ()
virtual void releaseOutputStream (MPS::OutputStream *stream)
virtual void releaseInputStream (MPS::InputStream *stream)

Private Attributes

ref<Mailbox> me
ref<Mailbox> other
int corrId

Constructor & Destructor Documentation

FastmsgLink::FastmsgLink ( string const & serverName,
MPS::Address const & a )
 


Member Function Documentation

virtual MPS::InputStream* FastmsgLink::getInputStream ( ) [virtual]
 

Obtain an InputStream to use to receive a message from the remote object.

The caller must call releaseInputStream() when it's finished with the stream.

Returns:
an InputStream which allows reading of the most recent message sent back from the remote object.

Reimplemented from MPS::Connection.

virtual MPS::OutputStream* FastmsgLink::getOutputStream ( ) [virtual]
 

Obtain an OutputStream to use to send a message to the remote object.

The caller must call releaseOutputStream() when it's finished with the stream.

Returns:
an OutputStream which, when flushed, will send a message to the remote object.

Reimplemented from MPS::Connection.

virtual void FastmsgLink::releaseInputStream ( MPS::InputStream * stream ) [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.

virtual void FastmsgLink::releaseOutputStream ( MPS::OutputStream * stream ) [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.


Member Data Documentation

int FastmsgLink::corrId [private]
 

Definition at line 13 of file FastmsgLink.h.

ref<Mailbox> FastmsgLink::me [private]
 

Definition at line 11 of file FastmsgLink.h.

ref<Mailbox> FastmsgLink::other [private]
 

Definition at line 12 of file FastmsgLink.h.


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