Interface Extension

    • Method Detail

      • remove

        void remove()
        Remove this extension from its target. After an extension has been removed, it cannot be attached again.
      • setParent

        void setParent​(ClientConnector parent)
        Sets the parent connector of the connector. This method automatically calls ClientConnector.attach() if the connector becomes attached to the session.

        This method is rarely called directly. AbstractClientConnector.addExtension(Extension) is normally used for adding extensions to a parent and it will call this method implicitly.

        Parameters:
        parent - the parent connector
        Throws:
        java.lang.IllegalStateException - if a parent is given even though the connector already has a parent