public class ClientMessageEncoder extends OutboundHandler<Supplier<ClientMessage>,ByteBuffer>
OutboundHandler
for the new-client. It writes ClientMessages to the ByteBuffer.channel, dst, src
Constructor and Description |
---|
ClientMessageEncoder() |
Modifier and Type | Method and Description |
---|---|
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 void handlerAdded()
ChannelHandler
handlerAdded
in class ChannelHandler<OutboundHandler,Supplier<ClientMessage>,ByteBuffer>
public HandlerStatus onWrite()
OutboundHandler
onWrite
in class OutboundHandler<Supplier<ClientMessage>,ByteBuffer>
HandlerStatus
the status of the handler after processing the src.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.