Class ReliableTcpConnection.NetOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.objectweb.joram.client.jms.tcp.ReliableTcpConnection.NetOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
- ReliableTcpConnection
static class ReliableTcpConnection.NetOutputStream extends ByteArrayOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private OutputStreamos-
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
-
Constructor Summary
Constructors Constructor Description NetOutputStream(Socket sock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreset()(package private) voidsend(long id, long ackId, org.objectweb.joram.shared.client.AbstractJmsMessage msg)-
Methods inherited from class java.io.ByteArrayOutputStream
close, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
-
-
-
Field Detail
-
os
private OutputStream os
-
-
Constructor Detail
-
NetOutputStream
NetOutputStream(Socket sock) throws IOException
- Throws:
IOException
-
-
Method Detail
-
reset
public void reset()
- Overrides:
resetin classByteArrayOutputStream
-
send
void send(long id, long ackId, org.objectweb.joram.shared.client.AbstractJmsMessage msg) throws IOException- Throws:
IOException
-
-