Interface Protocol

    • Method Detail

      • addProtocolListener

        void addProtocolListener​(ProtocolListener listener)
        Adds the given listener to this protocol.
        Parameters:
        listener - a protocol listener.
      • removeProtocolListener

        boolean removeProtocolListener​(ProtocolListener listener)
        Removes the given protocol listener from this protocol.
        Parameters:
        listener - a protocol listener.
        Returns:
        "true" if the listener has been removed.