Interface ChannelHandler
-
- All Known Implementing Classes:
ActiveMQPacketHandler,ReplicationEndpoint,ServerSessionPacketHandler
public interface ChannelHandlerA ChannelHandler is used byChannel. When a channel receives a packet it will call its handler to deal with the packet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidendOfBatch()voidhandlePacket(Packet packet)called by the channel when a packet is received..
-
-
-
Method Detail
-
handlePacket
void handlePacket(Packet packet)
called by the channel when a packet is received..- Parameters:
packet- the packet received
-
endOfBatch
default void endOfBatch()
-
-