@PrivateApi public class TextEncoder extends Object implements ChannelOutboundHandler<TextCommand>
| Constructor and Description | 
|---|
TextEncoder(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 TextEncoder(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 © 2018 Hazelcast, Inc.. All Rights Reserved.