Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkForFailover​(String nodeID)  
      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)  
      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)  
      protected void sendHandshake​(Connection transportConnection)  
      void sendSubscribeTopology​(boolean isServer)  
      protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage updateTransportConfiguration​(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 Detail

      • HornetQClientProtocolManager

        public HornetQClientProtocolManager()
    • Method Detail

      • sendHandshake

        protected void sendHandshake​(Connection transportConnection)
        Overrides:
        sendHandshake in class org.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:
        newSessionContext in class org.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:
        newCreateSessionPacket in class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
      • sendSubscribeTopology

        public void sendSubscribeTopology​(boolean isServer)
        Specified by:
        sendSubscribeTopology in interface ClientProtocolManager
        Overrides:
        sendSubscribeTopology in class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager
      • 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:
        updateTransportConfiguration in class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager