Interface OptionsParserListener
-
public interface OptionsParserListenerThis interface is used as callback for theOptionsParser.parse(java.lang.String, java.lang.String, com.gurock.smartinspect.connections.options.OptionsParserListener)method.This interface provides only a single method, called onOption, which is called for each found option in the parse method of the OptionsParser class. Please see the documentation of the onOptions method of more information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonOption(OptionsParserEvent e)Represents the callback function for the OptionsParser class.
-
-
-
Method Detail
-
onOption
void onOption(OptionsParserEvent e) throws SmartInspectException
Represents the callback function for the OptionsParser class. TheOptionsParser.parse(java.lang.String, java.lang.String, com.gurock.smartinspect.connections.options.OptionsParserListener)method calls this callback function for each found option in the supplied options part of a connections string. It is safe to throw exceptions of type SmartInspectException in this callback.- Parameters:
e- A OptionsParserEvent argument which offers the possibility of retrieving information about the found protocol and its options- Throws:
SmartInspectException- If an error occurred or has been detected in the callback function
-
-