public interface OptionsParserListener
OptionsParser.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.
| Modifier and Type | Method and Description |
|---|---|
void |
onOption(OptionsParserEvent e)
Represents the callback function for the OptionsParser class.
|
void onOption(OptionsParserEvent e) throws SmartInspectException
OptionsParser.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.e - A OptionsParserEvent argument which offers the possibility of
retrieving information about the found protocol and its optionsSmartInspectException - If an error occurred or has been detected in the callback functionCopyright © 2023. All rights reserved.