F - public interface WriteHandler<F extends OutboundFrame>
OutboundFrame to a ByteBuffer.
 Each SocketWriter will have its own WriteHandler instance. Therefor it doesn't need
 to be thread-safe.
 For more information about the WriteHandler (and handlers in generally), have a look at the ReadHandler.IOThreadingModel| Modifier and Type | Method and Description | 
|---|---|
| boolean | onWrite(F frame,
       ByteBuffer dst)A callback to indicate that the Frame should be written to the destination ByteBuffer. | 
boolean onWrite(F frame, ByteBuffer dst) throws Exception
frame - the Frame to writedst - the destination ByteBufferException - if something fails while writing to ByteBuffer. When an exception is thrown, the TcpIpConnection is
                   closed. There is no point continuing with a potentially corrupted stream.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.