Interface ConnectionManager


  • public interface ConnectionManager
    The ConnectionManager is responsible for registering and managing connections.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
    • Method Detail

      • getNumberConnections

        int getNumberConnections()
        Returns the number of connections
        Returns:
        number of connections.
      • addConnection

        void addConnection​(Connection connection)
        Adds a connection.
        Parameters:
        connection - connection.
      • removeConnection

        void removeConnection​(Connection connection)
        Removes and closes the connection. This closes the connection asynchrounsly.
        Parameters:
        connection - connection.
      • removeAllConnections

        void removeAllConnections()
        Removes and closes all connections.