public class ProtocolEncoder extends OutboundHandler<Void,ByteBuffer>
channel, dst, src
Constructor and Description |
---|
ProtocolEncoder(IOService ioService) |
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, requestClose, setChannel, src, src
public ProtocolEncoder(IOService ioService)
public void handlerAdded()
ChannelHandler
handlerAdded
in class ChannelHandler<OutboundHandler,Void,ByteBuffer>
public HandlerStatus onWrite()
OutboundHandler
onWrite
in class OutboundHandler<Void,ByteBuffer>
HandlerStatus
the status of the handler after processing the src.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.