Class ConnectionsParserEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.gurock.smartinspect.connections.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
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ConnectionsParserEvent(Object source, String protocol, String options)Creates and initializes a new ConnectionsParserEvent instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOptions()This method property returns the related options for the protocol which has just been found by a ConnectionsParser object.StringgetProtocol()This method returns the protocol which has just been found by a ConnectionsParser object.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
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.
-
-