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 Type
    Method
    Description
    default void
     
    void
    called by the channel when a packet is received..
  • Method Details

    • handlePacket

      void handlePacket(Packet packet)
      called by the channel when a packet is received..
      Parameters:
      packet - the packet received
    • endOfBatch

      default void endOfBatch()