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() |
HandlerStatus |
onWrite() |
initDstBuffer, initDstBuffer, initDstBufferdst, dst, interceptError, requestClose, setChannel, src, srcpublic void handlerAdded()
handlerAdded in class ChannelHandler<OutboundHandler,ByteBuffer,ByteBuffer>public HandlerStatus onWrite()
onWrite in class OutboundHandler<ByteBuffer,ByteBuffer>Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.