Class ConnectionsParserEvent

  • All Implemented Interfaces:
    Serializable

    public class ConnectionsParserEvent
    extends EventObject
    This class is used by the ConnectionsParser.parse method.

    This class is used by the ConnectionsParser class to inform interested parties about found protocols and options. It offers the necessary method to retrieve the found protocols and options in the event handlers.

    This class is fully threadsafe.

    See Also:
    Serialized Form
    • Constructor Detail

      • ConnectionsParserEvent

        public ConnectionsParserEvent​(Object source,
                                      String protocol,
                                      String options)
        Creates and initializes a new ConnectionsParserEvent instance.
        Parameters:
        source - The object which caused the event.
        protocol - The protocol which has been found.
        options - The options of the new protocol.
    • Method Detail

      • getProtocol

        public String getProtocol()
        This method returns the protocol which has just been found by a ConnectionsParser object.
        Returns:
        The found protocol.
      • getOptions

        public String getOptions()
        This method property returns the related options for the protocol which has just been found by a ConnectionsParser object.
        Returns:
        The related options for the found protocol.