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.
Options: str

This read-only property returns the key of the option which has just been found by a SIConnectionsParser object.

Protocol: str

This read-only property returns the protocol which has just been found by a SIConnectionsParser object.

@export
class SIConnectionFoundEventHandler:

This is the callback type for the SIConnectionsParser.Parse method.

SIConnectionFoundEventHandler( sender: object, e: 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.