public class ClientMessageEncoder extends Object implements ChannelOutboundHandler<ClientMessage>
ChannelOutboundHandler
for the new-client. It writes ClientMessages to the ByteBuffer.Constructor and Description |
---|
ClientMessageEncoder() |
Modifier and Type | Method and Description |
---|---|
boolean |
onWrite(ClientMessage message,
ByteBuffer dst)
A callback to indicate that the Frame should be written to the destination ByteBuffer.
|
public boolean onWrite(ClientMessage message, ByteBuffer dst)
ChannelOutboundHandler
onWrite
in interface ChannelOutboundHandler<ClientMessage>
message
- the Frame to writedst
- the destination ByteBufferCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.