public class MemberWriteHandler extends Object implements WriteHandler<Packet>
WriteHandler that for member to member communication.
It writes Packet instances to the ByteBuffer.MemberReadHandler| Constructor and Description |
|---|
MemberWriteHandler() |
| 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)
WriteHandleronWrite in interface WriteHandler<Packet>packet - the Frame to writedst - the destination ByteBufferCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.