Wildfire 3.2.4 Javadoc

org.jivesoftware.wildfire.filetransfer.proxy
Class ProxyOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.DataOutputStream
              extended by org.jivesoftware.wildfire.filetransfer.proxy.ProxyOutputStream
All Implemented Interfaces:
Closeable, DataOutput, Flushable

public class ProxyOutputStream
extends DataOutputStream

An output stream which tracks the amount of bytes transfered by proxy sockets.


Field Summary
 
Fields inherited from class java.io.DataOutputStream
written
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
ProxyOutputStream(OutputStream out)
           
 
Method Summary
 void write(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.DataOutputStream
flush, size, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.io.FilterOutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.DataOutput
write
 

Constructor Detail

ProxyOutputStream

public ProxyOutputStream(OutputStream out)
Method Detail

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Specified by:
write in interface DataOutput
Overrides:
write in class DataOutputStream
Throws:
IOException

Wildfire 3.2.4 Javadoc

Copyright © 2003-2007 Jive Software.