Class ConnectionControl

  • All Implemented Interfaces:
    Command, DataStructure

    public class ConnectionControl
    extends BaseCommand
    Used to start and stop transports as well as terminating clients.
    • Field Detail

      • suspend

        protected boolean suspend
      • resume

        protected boolean resume
      • close

        protected boolean close
      • exit

        protected boolean exit
      • faultTolerant

        protected boolean faultTolerant
      • connectedBrokers

        protected String connectedBrokers
      • reconnectTo

        protected String reconnectTo
      • token

        protected byte[] token
      • rebalanceConnection

        protected boolean rebalanceConnection
    • Constructor Detail

      • ConnectionControl

        public ConnectionControl()
    • Method Detail

      • getDataStructureType

        public byte getDataStructureType()
        Returns:
        The type of the data structure
      • isClose

        public boolean isClose()
        Returns:
        Returns the close.
      • setClose

        public void setClose​(boolean close)
        Parameters:
        close - The close to set.
      • isExit

        public boolean isExit()
        Returns:
        Returns the exit.
      • setExit

        public void setExit​(boolean exit)
        Parameters:
        exit - The exit to set.
      • isFaultTolerant

        public boolean isFaultTolerant()
        Returns:
        Returns the faultTolerant.
      • setFaultTolerant

        public void setFaultTolerant​(boolean faultTolerant)
        Parameters:
        faultTolerant - The faultTolerant to set.
      • isResume

        public boolean isResume()
        Returns:
        Returns the resume.
      • setResume

        public void setResume​(boolean resume)
        Parameters:
        resume - The resume to set.
      • isSuspend

        public boolean isSuspend()
        Returns:
        Returns the suspend.
      • setSuspend

        public void setSuspend​(boolean suspend)
        Parameters:
        suspend - The suspend to set.
      • getConnectedBrokers

        public String getConnectedBrokers()
        Returns:
        connected brokers.
      • setConnectedBrokers

        public void setConnectedBrokers​(String connectedBrokers)
        Parameters:
        connectedBrokers - the connectedBrokers to set
      • getReconnectTo

        public String getReconnectTo()
        Returns:
        the reconnectTo
      • setReconnectTo

        public void setReconnectTo​(String reconnectTo)
        Parameters:
        reconnectTo - the reconnectTo to set
      • isRebalanceConnection

        public boolean isRebalanceConnection()
        Returns:
        the rebalanceConnection
      • setRebalanceConnection

        public void setRebalanceConnection​(boolean rebalanceConnection)
        Parameters:
        rebalanceConnection - the rebalanceConnection to set
      • getToken

        public byte[] getToken()
        Returns:
        the token
      • setToken

        public void setToken​(byte[] token)
        Parameters:
        token - the token to set