com.hazelcast.nio.tcp
public class DefaultPacketReader extends Object implements PacketReader
Modifier and Type | Field and Description |
---|---|
protected TcpIpConnection |
connection |
protected IOService |
ioService |
protected Packet |
packet |
Constructor and Description |
---|
DefaultPacketReader(TcpIpConnection connection,
IOService ioService) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleBind(Packet packet) |
protected void |
handlePacket(Packet packet) |
protected Packet |
obtainPacket() |
void |
readPacket(ByteBuffer inBuffer) |
protected final TcpIpConnection connection
protected final IOService ioService
protected Packet packet
public DefaultPacketReader(TcpIpConnection connection, IOService ioService)
public void readPacket(ByteBuffer inBuffer) throws Exception
readPacket
in interface PacketReader
Exception
protected void handlePacket(Packet packet)
protected void handleBind(Packet packet)
protected Packet obtainPacket()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.