All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class connection.MessageReader

java.lang.Object
   |
   +----connection.MessageReader

public class MessageReader
extends Object
MessageReader is a class for reading Message objects from the given input stream.

Version:
0.30, 1998/04/01
Author:
FRED development team, Antti Viljamaa
See Also:
Message

Variable Index

 o inputStream
The input stream.

Constructor Index

 o MessageReader(InputStream)
Constructs a new message reader for the given stream.

Method Index

 o getInputStream()
Gets the input stream.
 o readMessage()
Returns the next message from the stream.
 o setInputStream(InputStream)
Sets the input stream.

Variables

 o inputStream
 private InputStream inputStream
The input stream.

Constructors

 o MessageReader
 public MessageReader(InputStream inputStream)
Constructs a new message reader for the given stream.

Methods

 o readMessage
 public Message readMessage() throws IOException
Returns the next message from the stream.

 o setInputStream
 public void setInputStream(InputStream is)
Sets the input stream.

 o getInputStream
 public InputStream getInputStream()
Gets the input stream.


All Packages  Class Hierarchy  This Package  Previous  Next  Index