Class ConnectionStatus


  • public class ConnectionStatus
    extends Object
    Connection Status
    • Constructor Detail

      • ConnectionStatus

        public ConnectionStatus​(int connectionCount,
                                int activeConnectionCount)
    • Method Detail

      • getConnectionCount

        public int getConnectionCount()
        Get the count of clients currently connected to this listener.
        Returns:
        number of clients currently connected to this listener.
      • getActiveConnectionCount

        public int getActiveConnectionCount()
        Get the count of clients that are currently actively transferring data. Note: this number is highly volatile. The actual number of active connections may have changed by the time the call returns.
        Returns:
        number of connections that are currently active.