org.objectweb.joram.mom.proxies.tcp
Class TcpConnectionListener.NetOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.NetOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
TcpConnectionListener

static class TcpConnectionListener.NetOutputStream
extends java.io.ByteArrayOutputStream


Field Summary
private  java.io.OutputStream os
           
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
TcpConnectionListener.NetOutputStream(java.net.Socket sock)
           
 
Method Summary
 void reset()
           
 void send()
           
 
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

TcpConnectionListener.NetOutputStream

TcpConnectionListener.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

public void send()
          throws java.io.IOException
Throws:
java.io.IOException


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