Class HornetQClientProtocolManager
java.lang.Object
org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
org.apache.activemq.artemis.core.protocol.hornetq.client.HornetQClientProtocolManager
- All Implemented Interfaces:
ClientProtocolManager
public class HornetQClientProtocolManager
extends org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
connection, topologyResponseHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckForFailover(String nodeID) protected org.apache.activemq.artemis.core.protocol.core.PacketnewCreateSessionPacket(int clientVersion, String name, String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int minLargeMessageSize, int confirmationWindowSize, long sessionChannelID, String clientID) protected SessionContextnewSessionContext(String name, int confirmationWindowSize, org.apache.activemq.artemis.core.protocol.core.Channel sessionChannel, org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionResponseMessage response) protected voidsendHandshake(Connection transportConnection) voidsendSubscribeTopology(boolean isServer) protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessageupdateTransportConfiguration(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage topMessage) Methods inherited from class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
addChannelHandlers, cleanupBeforeFailover, connect, createPacketDecoder, createSessionContext, createSessionContext, getChannel0, getChannel1, getCurrentConnection, getName, getSessionFactory, isAlive, lockSessionCreation, ping, setExecutor, setSessionFactory, stop, waitOnLatch
-
Constructor Details
-
HornetQClientProtocolManager
public HornetQClientProtocolManager()
-
-
Method Details
-
sendHandshake
- Overrides:
sendHandshakein classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
newSessionContext
protected SessionContext newSessionContext(String name, int confirmationWindowSize, org.apache.activemq.artemis.core.protocol.core.Channel sessionChannel, org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionResponseMessage response) - Overrides:
newSessionContextin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
newCreateSessionPacket
protected org.apache.activemq.artemis.core.protocol.core.Packet newCreateSessionPacket(int clientVersion, String name, String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int minLargeMessageSize, int confirmationWindowSize, long sessionChannelID, String clientID) - Overrides:
newCreateSessionPacketin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
sendSubscribeTopology
public void sendSubscribeTopology(boolean isServer) - Specified by:
sendSubscribeTopologyin interfaceClientProtocolManager- Overrides:
sendSubscribeTopologyin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
checkForFailover
- Specified by:
checkForFailoverin interfaceClientProtocolManager- Overrides:
checkForFailoverin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager- Throws:
ActiveMQException
-
updateTransportConfiguration
protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage updateTransportConfiguration(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage topMessage) - Overrides:
updateTransportConfigurationin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-