public final class Connection
extends java.lang.Object
| Constructor and Description |
|---|
Connection(java.nio.channels.SocketChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(java.nio.ByteBuffer buffer) |
void |
ensureReadBufferWritable(int minWritableBytes) |
void |
flushOutbound() |
java.nio.channels.SocketChannel |
getChannel() |
java.nio.ByteBuffer |
getReadBuffer() |
boolean |
hasOutboundData() |
public java.nio.channels.SocketChannel getChannel()
public java.nio.ByteBuffer getReadBuffer()
public void ensureReadBufferWritable(int minWritableBytes)
public void enqueue(java.nio.ByteBuffer buffer)
public boolean hasOutboundData()
public void flushOutbound()
throws java.io.IOException
java.io.IOException