@PrivateApi public class TextChannelOutboundHandler extends Object implements ChannelOutboundHandler<TextCommand>
| Constructor and Description |
|---|
TextChannelOutboundHandler(TcpIpConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
enqueue(TextCommand response) |
boolean |
onWrite(TextCommand textCommand,
ByteBuffer dst)
A callback to indicate that the Frame should be written to the destination ByteBuffer.
|
public TextChannelOutboundHandler(TcpIpConnection connection)
public void enqueue(TextCommand response)
public boolean onWrite(TextCommand textCommand, ByteBuffer dst) throws Exception
ChannelOutboundHandleronWrite in interface ChannelOutboundHandler<TextCommand>textCommand - the Frame to writedst - the destination ByteBufferException - if something fails while writing to ByteBuffer. When an exception is thrown, the
ChannelErrorHandler is called.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.