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

MPS::InetTransport::InetIOStream Class Reference

Inheritance diagram for MPS::InetTransport::InetIOStream:

Inheritance graph
[legend]
Collaboration diagram for MPS::InetTransport::InetIOStream:

Collaboration graph
[legend]
List of all members.

Public Methods

 InetIOStream (ref< FileDescriptor > const &_fd)
virtual int read ()
virtual void flush ()

Protected Methods

virtual string referenceTransport () const

Private Attributes

ref<FileDescriptorfd

Constructor & Destructor Documentation

MPS::InetTransport::InetIOStream::InetIOStream ( ref< FileDescriptor > const & _fd ) [inline]
 

Definition at line 69 of file InetTransport.cc.


Member Function Documentation

void MPS::InetTransport::InetIOStream::flush ( ) [inline, virtual]
 

Reimplemented from MPS::OutputStream.

Definition at line 84 of file InetTransport.cc.

int MPS::InetTransport::InetIOStream::read ( ) [inline, virtual]
 

Reads a single byte out of the message body.

Subclasses must override this.

Returns:
the byte read

Reimplemented from MPS::InputStream.

Definition at line 73 of file InetTransport.cc.

virtual string MPS::InetTransport::InetIOStream::referenceTransport ( ) const [protected, virtual]
 

Returns the name of the transport we should look for addresses within when writing out Interface references in writeReference.

Override this in subclasses to set the preferred transport-address-type for references we pickle for transmission.

Returns:
the name of a transport for use in writeReference()
See also:
writeReference()

Reimplemented from MPS::OutputStream.


Member Data Documentation

ref<FileDescriptor> MPS::InetTransport::InetIOStream::fd [private]
 

Definition at line 63 of file InetTransport.cc.


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