public class MemberChannelOutboundHandler extends Object implements ChannelOutboundHandler<Packet>
ChannelOutboundHandler
that for member to member communication.
It writes Packet
instances to the ByteBuffer
.MemberChannelInboundHandler
Constructor and Description |
---|
MemberChannelOutboundHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
onWrite(Packet packet,
ByteBuffer dst)
A callback to indicate that the Frame should be written to the destination ByteBuffer.
|
public boolean onWrite(Packet packet, ByteBuffer dst)
ChannelOutboundHandler
onWrite
in interface ChannelOutboundHandler<Packet>
packet
- the Frame to writedst
- the destination ByteBufferCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.