@PrivateApi public class TextEncoder extends OutboundHandler<Supplier<TextCommand>,ByteBuffer>
| Modifier and Type | Field and Description | 
|---|---|
static String | 
TEXT_ENCODER  | 
channel, dst, src| Constructor and Description | 
|---|
TextEncoder(TcpIpConnection connection)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
enqueue(TextCommand response)  | 
void | 
handlerAdded()
Gets called when this ChannelHandler is added to the pipeline. 
 | 
HandlerStatus | 
onWrite()
A callback to indicate that this OutboundHandler should be
 processed. 
 | 
initDstBuffer, initDstBuffer, initDstBufferdst, dst, interceptError, setChannel, src, srcpublic static final String TEXT_ENCODER
public TextEncoder(TcpIpConnection connection)
public void handlerAdded()
ChannelHandlerhandlerAdded in class ChannelHandler<OutboundHandler,Supplier<TextCommand>,ByteBuffer>public void enqueue(TextCommand response)
public HandlerStatus onWrite()
OutboundHandleronWrite in class OutboundHandler<Supplier<TextCommand>,ByteBuffer>HandlerStatus the status of the handler after processing the src.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.