java.lang.AutoCloseable, ReadContextpublic class TcpReadContext extends java.lang.Object implements ReadContext
| Constructor | Description |
|---|---|
TcpReadContext(NioSocketChannel channel,
TcpReadHandler handler,
InboundChannelBuffer channelBuffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
int |
read() |
public TcpReadContext(NioSocketChannel channel, TcpReadHandler handler, InboundChannelBuffer channelBuffer)
public int read()
throws java.io.IOException
read in interface ReadContextjava.io.IOExceptionpublic void close()
close in interface java.lang.AutoCloseableclose in interface ReadContext