Interface ChannelHandler
- All Known Implementing Classes:
ActiveMQPacketHandler,ReplicationEndpoint,ServerSessionPacketHandler
public interface ChannelHandler
A ChannelHandler is used by
Channel. When a channel receives a packet it will call its handler to deal with
the packet.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidvoidhandlePacket(Packet packet) called by the channel when a packet is received..
-
Method Details
-
handlePacket
called by the channel when a packet is received..- Parameters:
packet- the packet received
-
endOfBatch
default void endOfBatch()
-