smartinspectpython.siconnectionfoundeventargs
@export
class
SIConnectionFoundEventArgs:
This class is used by the SIConnectionsParser class to inform interested parties that a protocol connection string has been found.
Threadsafety:
This class is fully thread-safe.
SIConnectionFoundEventArgs(protocol: str, options: str)
Initializes a new instance of the class.
Arguments:
- protocol (str): The protocol name which has been found.
- options (str): The options of the new protocol.
@export
class
SIConnectionFoundEventHandler:
This is the callback type for the SIConnectionsParser.Parse method.
SIConnectionFoundEventHandler( sender: object, e: smartinspectpython.siconnectionfoundeventargs.SIConnectionFoundEventArgs)
Initializes a new instance of the class.
Arguments:
- sender (object): The object which fired the event.
- e (ConnectionFoundEventArgs): Arguments that contain detailed information related to the event.