Interface TcpProxyServiceMBean

    • Method Detail

      • getListenPort

        int getListenPort()
        Gets the listen port of the server.
        Returns:
        the listen port of the server.
      • getServerAddress

        String getServerAddress()
        Gets the socket address of the server.
        Returns:
        the server socket address.
      • getTcpListenersPoolSize

        int getTcpListenersPoolSize()
        Gets the number of threads listening for incoming tcp connections.
        Returns:
        the tcp listeners pool size.
      • isActivated

        boolean isActivated()
        Returns true if the TcpProxyService (TCP/JMS connector) is started.
        Specified by:
        isActivated in interface ConnectionManagerMBean
        Returns:
        true if the TcpProxyService is started.
      • getInitiatedConnectionCount

        int getInitiatedConnectionCount()
        Gets the number of connections initiated since boot time.
        Specified by:
        getInitiatedConnectionCount in interface ConnectionManagerMBean
        Returns:
        the number of connections initiated since boot time.
      • getAverageConnectionTime

        long getAverageConnectionTime()
        Gets the average time for incoming local connections.
        Returns:
        the average time for incoming local connections.
      • getProtocolErrorCount

        int getProtocolErrorCount()
        Gets the number of connections rejected due to a wrong protocol header.
        Returns:
        the number of connections rejected due to a wrong protocol header.
      • activate

        void activate()
        Activates the TcpProxyService (TCP/JMS connector), creates the socket and starts listeners.
        Specified by:
        activate in interface ConnectionManagerMBean
      • deactivate

        void deactivate()
        Deactivates the TcpProxyService (TCP/JMS connector), stops all listeners.
        Specified by:
        deactivate in interface ConnectionManagerMBean