Interface ClientProtocolManager


  • public interface ClientProtocolManager
    • Method Detail

      • lockSessionCreation

        java.util.concurrent.locks.Lock lockSessionCreation()
      • waitOnLatch

        boolean waitOnLatch​(long milliseconds)
                     throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • stop

        void stop()
        This is to be called when a connection failed and we want to interrupt any communication. This used to be called exitLoop at some point o the code.. with a method named causeExit from ClientSessionFactoryImpl
      • isAlive

        boolean isAlive()
      • addChannelHandlers

        void addChannelHandlers​(io.netty.channel.ChannelPipeline pipeline)
      • sendSubscribeTopology

        void sendSubscribeTopology​(boolean isServer)
      • ping

        void ping​(long connectionTTL)
      • createSessionContext

        SessionContext createSessionContext​(java.lang.String name,
                                            java.lang.String username,
                                            java.lang.String password,
                                            boolean xa,
                                            boolean autoCommitSends,
                                            boolean autoCommitAcks,
                                            boolean preAcknowledge,
                                            int minLargeMessageSize,
                                            int confirmationWindowSize,
                                            java.lang.String clientID)
                                     throws org.apache.activemq.artemis.api.core.ActiveMQException
        Throws:
        org.apache.activemq.artemis.api.core.ActiveMQException
      • cleanupBeforeFailover

        boolean cleanupBeforeFailover​(org.apache.activemq.artemis.api.core.ActiveMQException cause)
      • checkForFailover

        boolean checkForFailover​(java.lang.String liveNodeID)
                          throws org.apache.activemq.artemis.api.core.ActiveMQException
        Throws:
        org.apache.activemq.artemis.api.core.ActiveMQException
      • getName

        java.lang.String getName()