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
-
inputStream
- The input stream.
-
MessageReader(InputStream)
- Constructs a new message reader for the given stream.
-
getInputStream()
- Gets the input stream.
-
readMessage()
- Returns the next message from the stream.
-
setInputStream(InputStream)
- Sets the input stream.
inputStream
private InputStream inputStream
- The input stream.
MessageReader
public MessageReader(InputStream inputStream)
- Constructs a new message reader for the given stream.
readMessage
public Message readMessage() throws IOException
- Returns the next message from the stream.
setInputStream
public void setInputStream(InputStream is)
- Sets the input stream.
getInputStream
public InputStream getInputStream()
- Gets the input stream.
All Packages Class Hierarchy This Package Previous Next Index