Package fr.dyade.aaa.agent
Class NGNetwork.CnxHandler.MessageOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- fr.dyade.aaa.agent.NGNetwork.CnxHandler.MessageOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
- NGNetwork.CnxHandler
final class NGNetwork.CnxHandler.MessageOutputStream extends ByteArrayOutputStream
Class used to send messages through a stream.
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectOutputStreamoos-
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
-
Constructor Summary
Constructors Constructor Description MessageOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidwriteMessage(Message msg)-
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
-
-
-
Field Detail
-
oos
private ObjectOutputStream oos
-
-
Constructor Detail
-
MessageOutputStream
MessageOutputStream() throws IOException- Throws:
IOException
-
-
Method Detail
-
writeMessage
void writeMessage(Message msg) throws IOException
- Throws:
IOException
-
-