@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, initDstBuffer
dst, dst, interceptError, setChannel, src, src
public static final String TEXT_ENCODER
public TextEncoder(TcpIpConnection connection)
public void handlerAdded()
ChannelHandler
handlerAdded
in class ChannelHandler<OutboundHandler,Supplier<TextCommand>,ByteBuffer>
public void enqueue(TextCommand response)
public HandlerStatus onWrite()
OutboundHandler
onWrite
in class OutboundHandler<Supplier<TextCommand>,ByteBuffer>
HandlerStatus
the status of the handler after processing the src.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.