public class TcpClientContext extends ClientContext
receivingBuffer| Constructor and Description |
|---|
TcpClientContext(TcpChannelHost tcpChannelHost,
java.nio.channels.SocketChannel clientChannel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doRead() |
protected void |
recvDecideRoute(java.lang.String channelId) |
protected void |
sendRaw(byte[] data) |
cleanup, recvAfterReadRaw, recvSetFrameHandlers, sendFramepublic TcpClientContext(TcpChannelHost tcpChannelHost, java.nio.channels.SocketChannel clientChannel)
public boolean doRead()
throws java.io.IOException
java.io.IOExceptionprotected void sendRaw(byte[] data)
throws java.io.IOException
sendRaw in class ClientContextjava.io.IOExceptionprotected void recvDecideRoute(java.lang.String channelId)
recvDecideRoute in class ClientContext