com.hazelcast.nio.tcp
Class DefaultPacketReader
java.lang.Object
com.hazelcast.nio.tcp.DefaultPacketReader
- All Implemented Interfaces:
- PacketReader
public class DefaultPacketReader
- extends Object
- implements PacketReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
protected final TcpIpConnection connection
ioService
protected final IOService ioService
packet
protected Packet packet
DefaultPacketReader
public DefaultPacketReader(TcpIpConnection connection,
IOService ioService)
readPacket
public void readPacket(ByteBuffer inBuffer)
throws Exception
- Specified by:
readPacket
in interface PacketReader
- Throws:
Exception
handlePacket
protected void handlePacket(Packet packet)
handleBind
protected void handleBind(Packet packet)
obtainPacket
protected Packet obtainPacket()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.