final class SimpleNetwork.NetworkOutputStream extends BufferedMessageOutputStream
out
buf, compressedFlows, count, logmon, oos
Constructor and Description |
---|
SimpleNetwork.NetworkOutputStream() |
Modifier and Type | Method and Description |
---|---|
protected void |
writeHeader()
Writes the protocol header to this output stream.
|
(package private) void |
writeMessage(OutputStream os,
Message msg,
long currentTimeMillis)
Writes a message to the output stream of the socket.
|
flush, write, write
getLogger, write, writeInt, writeMessage, writeMessageHeader, writeShort
close
SimpleNetwork.NetworkOutputStream() throws IOException
IOException
protected void writeHeader()
writeHeader
in class MessageOutputStream
void writeMessage(OutputStream os, Message msg, long currentTimeMillis) throws IOException
sock
- The output socket.msg
- The message to write out.currentTimeMillis
- The current time in milliseconds, this
parameter is used to the handling of notification expiration.IOException
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.