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 Summary
Constructors Constructor Description ServerSessionPacketHandler(ActiveMQServer server, ServerSession session, Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcloseExecutors()voidcloseListeners()voidconnectionFailed(ActiveMQException exception, boolean failedOver)ChannelgetChannel()longgetID()ServerSessiongetSession()voidhandlePacket(Packet packet)inttransferConnection(CoreRemotingConnection newConnection, int lastReceivedCommandID)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.protocol.core.ChannelHandler
endOfBatch
-
-
-
-
Constructor Detail
-
ServerSessionPacketHandler
public ServerSessionPacketHandler(ActiveMQServer server, ServerSession session, Channel channel)
-
-
Method Detail
-
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)
- Specified by:
handlePacketin interfaceChannelHandler
-
closeListeners
public void closeListeners()
-
transferConnection
public int transferConnection(CoreRemotingConnection newConnection, int lastReceivedCommandID)
-
-