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, initDstBufferdst, dst, interceptError, setChannel, src, srcpublic void handlerAdded()
ChannelHandlerhandlerAdded in class ChannelHandler<OutboundHandler,Supplier<ClientMessage>,ByteBuffer>public HandlerStatus onWrite()
OutboundHandleronWrite in class OutboundHandler<Supplier<ClientMessage>,ByteBuffer>HandlerStatus the status of the handler after processing the src.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.