public class ClientProtocolEncoder extends OutboundHandler<ByteBuffer,ByteBuffer>
OutboundHandler that writes the client protocol bytes
 and once they have been fully written, it removes itself from pipeline.
 On a plain connection, this should be the last encoder in the pipeline.
 Even though the ClientProtocolEncoder has a ByteBuffer as src, it will
 never consume bytes from this source.channel, dst, src| Constructor and Description | 
|---|
ClientProtocolEncoder()  | 
| 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,ByteBuffer,ByteBuffer>public HandlerStatus onWrite()
OutboundHandleronWrite in class OutboundHandler<ByteBuffer,ByteBuffer>HandlerStatus the status of the handler after processing the src.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.