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:
org.apache.activemq.artemis.spi.core.remoting.ClientProtocolManager
public class HornetQClientProtocolManager extends org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
-
Constructor Summary
Constructors Constructor Description HornetQClientProtocolManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckForFailover(java.lang.String liveNodeID)protected org.apache.activemq.artemis.core.protocol.core.PacketnewCreateSessionPacket(int clientVersion, java.lang.String name, java.lang.String username, java.lang.String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int minLargeMessageSize, int confirmationWindowSize, long sessionChannelID, java.lang.String clientID)protected org.apache.activemq.artemis.spi.core.remoting.SessionContextnewSessionContext(java.lang.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(org.apache.activemq.artemis.spi.core.remoting.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
-
-
-
-
Method Detail
-
sendHandshake
protected void sendHandshake(org.apache.activemq.artemis.spi.core.remoting.Connection transportConnection)
- Overrides:
sendHandshakein classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
newSessionContext
protected org.apache.activemq.artemis.spi.core.remoting.SessionContext newSessionContext(java.lang.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, java.lang.String name, java.lang.String username, java.lang.String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int minLargeMessageSize, int confirmationWindowSize, long sessionChannelID, java.lang.String clientID)- Overrides:
newCreateSessionPacketin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
sendSubscribeTopology
public void sendSubscribeTopology(boolean isServer)
- Specified by:
sendSubscribeTopologyin interfaceorg.apache.activemq.artemis.spi.core.remoting.ClientProtocolManager- Overrides:
sendSubscribeTopologyin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
-
checkForFailover
public boolean checkForFailover(java.lang.String liveNodeID) throws org.apache.activemq.artemis.api.core.ActiveMQException- Specified by:
checkForFailoverin interfaceorg.apache.activemq.artemis.spi.core.remoting.ClientProtocolManager- Overrides:
checkForFailoverin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager- Throws:
org.apache.activemq.artemis.api.core.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
-
-