@PrivateApi public class TextEncoder extends com.hazelcast.internal.networking.OutboundHandler<Supplier<com.hazelcast.internal.ascii.TextCommand>,ByteBuffer>
Modifier and Type | Field and Description |
---|---|
static String |
TEXT_ENCODER |
Constructor and Description |
---|
TextEncoder(TcpIpConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
enqueue(com.hazelcast.internal.ascii.TextCommand response) |
void |
handlerAdded()
Gets called when this ChannelHandler is added to the pipeline.
|
com.hazelcast.internal.networking.HandlerStatus |
onWrite()
A callback to indicate that this OutboundHandler should be
processed.
|
initDstBuffer, initDstBuffer, initDstBuffer
public static final String TEXT_ENCODER
public TextEncoder(TcpIpConnection connection)
public void handlerAdded()
com.hazelcast.internal.networking.ChannelHandler
handlerAdded
in class com.hazelcast.internal.networking.ChannelHandler<com.hazelcast.internal.networking.OutboundHandler,Supplier<com.hazelcast.internal.ascii.TextCommand>,ByteBuffer>
public void enqueue(com.hazelcast.internal.ascii.TextCommand response)
public com.hazelcast.internal.networking.HandlerStatus onWrite()
com.hazelcast.internal.networking.OutboundHandler
onWrite
in class com.hazelcast.internal.networking.OutboundHandler<Supplier<com.hazelcast.internal.ascii.TextCommand>,ByteBuffer>
HandlerStatus
the status of the handler after processing the src.Copyright © 2019 Hazelcast, Inc.. All rights reserved.