public class ServerSessionPacketHandler extends Object implements org.apache.activemq.artemis.core.protocol.core.ChannelHandler
| Constructor and Description |
|---|
ServerSessionPacketHandler(ServerSession session,
StorageManager storageManager,
org.apache.activemq.artemis.core.protocol.core.Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeListeners() |
void |
connectionFailed(org.apache.activemq.artemis.api.core.ActiveMQException exception,
boolean failedOver) |
org.apache.activemq.artemis.core.protocol.core.Channel |
getChannel() |
long |
getID() |
ServerSession |
getSession() |
void |
handlePacket(org.apache.activemq.artemis.core.protocol.core.Packet packet) |
int |
transferConnection(org.apache.activemq.artemis.core.protocol.core.CoreRemotingConnection newConnection,
int lastReceivedCommandID) |
public ServerSessionPacketHandler(ServerSession session, StorageManager storageManager, org.apache.activemq.artemis.core.protocol.core.Channel channel)
public ServerSession getSession()
public long getID()
public void connectionFailed(org.apache.activemq.artemis.api.core.ActiveMQException exception,
boolean failedOver)
public void close()
public org.apache.activemq.artemis.core.protocol.core.Channel getChannel()
public void handlePacket(org.apache.activemq.artemis.core.protocol.core.Packet packet)
handlePacket in interface org.apache.activemq.artemis.core.protocol.core.ChannelHandlerpublic void closeListeners()
public int transferConnection(org.apache.activemq.artemis.core.protocol.core.CoreRemotingConnection newConnection,
int lastReceivedCommandID)
Copyright © 2023 The Apache Software Foundation. All rights reserved.