Class ServerSessionPacketHandler
java.lang.Object
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler
- All Implemented Interfaces:
ChannelHandler
-
Constructor Summary
ConstructorsConstructorDescriptionServerSessionPacketHandler(ActiveMQServer server, ServerSession session, Channel channel) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidvoidconnectionFailed(ActiveMQException exception, boolean failedOver) longgetID()voidhandlePacket(Packet packet) called by the channel when a packet is received..inttransferConnection(CoreRemotingConnection newConnection, int lastReceivedCommandID) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.protocol.core.ChannelHandler
endOfBatch
-
Constructor Details
-
ServerSessionPacketHandler
-
-
Method Details
-
getSession
-
getID
public long getID() -
connectionFailed
-
closeExecutors
public void closeExecutors() -
close
public void close() -
getChannel
-
handlePacket
Description copied from interface:ChannelHandlercalled by the channel when a packet is received..- Specified by:
handlePacketin interfaceChannelHandler- Parameters:
packet- the packet received
-
closeListeners
public void closeListeners() -
transferConnection
-