org.littleshoot.util.mina
Class ByteBufferIoSessionOutputStream
java.lang.Object
java.io.OutputStream
org.littleshoot.util.mina.AbstractIoSessionOutputStream<org.littleshoot.mina.common.ByteBuffer>
org.littleshoot.util.mina.ByteBufferIoSessionOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public final class ByteBufferIoSessionOutputStream
- extends AbstractIoSessionOutputStream<org.littleshoot.mina.common.ByteBuffer>
An IoSessionOutputStream for byte buffers.
|
Method Summary |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferIoSessionOutputStream
public ByteBufferIoSessionOutputStream(org.littleshoot.mina.common.IoSession session)
- Creates a new
ByteBufferIoSessionOutputStream for the specified
session.
- Parameters:
session - The IoSession.
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
Copyright © 2013 LittleShoot. All Rights Reserved.