public class ClientChannelOutboundHandler extends Object implements ChannelOutboundHandler<ClientMessage>
ChannelOutboundHandler
for the new-client. It writes ClientMessages to the ByteBuffer.Constructor and Description |
---|
ClientChannelOutboundHandler() |
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) throws Exception
ChannelOutboundHandler
onWrite
in interface ChannelOutboundHandler<ClientMessage>
message
- the Frame to writedst
- the destination ByteBufferException
- if something fails while writing to ByteBuffer. When an exception is thrown, the
ChannelErrorHandler
is called.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.