org.jivesoftware.openfire.filetransfer.proxy
Class ProxyOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.jivesoftware.openfire.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.
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyOutputStream
public ProxyOutputStream(OutputStream out)
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
Copyright © 2003-2008 Jive Software.