org.neo.swarm.util.io
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
org.neo.swarm.util.io.ByteBufferOutputStream
- public class ByteBufferOutputStream
- extends java.io.OutputStream
Provides a ByteBufferOutputStream interface for writing to a socket
- Author:
- navery
| Methods inherited from class java.io.OutputStream |
write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferOutputStream
public ByteBufferOutputStream(java.nio.ByteBuffer buffer,
StreamCallback callback)
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] data)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.