Class ServerSessionPacketHandler

java.lang.Object
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler
All Implemented Interfaces:
ChannelHandler

public class ServerSessionPacketHandler extends Object implements ChannelHandler
  • Constructor Details

  • Method Details

    • getSession

      public ServerSession getSession()
    • getID

      public long getID()
    • connectionFailed

      public void connectionFailed(ActiveMQException exception, boolean failedOver)
    • closeExecutors

      public void closeExecutors()
    • close

      public void close()
    • getChannel

      public Channel getChannel()
    • handlePacket

      public void handlePacket(Packet packet)
      Description copied from interface: ChannelHandler
      called by the channel when a packet is received..
      Specified by:
      handlePacket in interface ChannelHandler
      Parameters:
      packet - the packet received
    • closeListeners

      public void closeListeners()
    • transferConnection

      public int transferConnection(CoreRemotingConnection newConnection, int lastReceivedCommandID)