All Packages Class Hierarchy This Package Previous Next Index
Class connection.MessageWriter
java.lang.Object
|
+----connection.MessageWriter
- public class MessageWriter
- extends Object
MessageWriter
is a class for writing Message
objects to the given output stream.
- Version:
- 0.30, 1998/04/01
- Author:
- FRED development team, Antti Viljamaa
- See Also:
- Message
-
outputStream
- The output stream.
-
MessageWriter(OutputStream)
- Constructs a new message writer for the given stream.
-
getOutputStream()
- Gets the output stream.
-
setOutputStream(OutputStream)
- Sets the output stream.
-
writeMessage(Message)
- Writes the given message to the stream.
outputStream
OutputStream outputStream
- The output stream.
MessageWriter
public MessageWriter(OutputStream outputStream)
- Constructs a new message writer for the given stream.
writeMessage
public void writeMessage(Message msg) throws IOException
- Writes the given message to the stream.
setOutputStream
protected void setOutputStream(OutputStream os)
- Sets the output stream.
getOutputStream
protected OutputStream getOutputStream()
- Gets the output stream.
All Packages Class Hierarchy This Package Previous Next Index