Interface ConnectionService

    • Method Detail

      • registerChannel

        long registerChannel​(Channel channel)
                      throws IOException
        Register a newly created channel with a new unique identifier
        Parameters:
        channel - The Channel to register
        Returns:
        The assigned id of this channel - a UINT32 represented as a long
        Throws:
        IOException - If failed to initialize and register the channel
      • unregisterChannel

        void unregisterChannel​(Channel channel)
        Remove this channel from the list of managed channels
        Parameters:
        channel - The Channel instance
      • getForwarder

        Forwarder getForwarder()
        Retrieve the forwarder instance
        Returns:
        The Forwarder
      • isAllowMoreSessions

        boolean isAllowMoreSessions()
      • setAllowMoreSessions

        void setAllowMoreSessions​(boolean allow)