public class OldClientWriteHandler extends Object implements WriteHandler<Packet>
WriteHandler for the old client. It writes Packet into the ByteBuffer.
 Once the old client is deleted, this code can be deleted.OldClientReadHandler| Constructor and Description | 
|---|
OldClientWriteHandler()  | 
| 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) throws Exception
WriteHandleronWrite in interface WriteHandler<Packet>packet - 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 © 2016 Hazelcast, Inc.. All Rights Reserved.