org.objectweb.joram.client.jms.tcp
Class ReliableTcpConnection.NetOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.objectweb.joram.client.jms.tcp.ReliableTcpConnection.NetOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
ReliableTcpConnection

static class ReliableTcpConnection.NetOutputStream
extends java.io.ByteArrayOutputStream


Field Summary
private  java.io.OutputStream os
           
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
ReliableTcpConnection.NetOutputStream(java.net.Socket sock)
           
 
Method Summary
 void reset()
           
(package private)  void send(long id, long ackId, AbstractJmsMessage msg)
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

os

private java.io.OutputStream os
Constructor Detail

ReliableTcpConnection.NetOutputStream

ReliableTcpConnection.NetOutputStream(java.net.Socket sock)
                                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

reset

public void reset()
Overrides:
reset in class java.io.ByteArrayOutputStream

send

void send(long id,
          long ackId,
          AbstractJmsMessage msg)
    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.