on_discovery_response Event
Fired when an SNMPv3 discovery response is received.
Syntax
class SNMPTCPMgrDiscoveryResponseEventParams(object): @property def engine_id() -> bytes: ... @property def engine_boots() -> int: ... @property def engine_time() -> int: ... @property def user() -> str: ... @property def security_level() -> int: ... @property def source_address() -> str: ... @property def source_port() -> int: ... # In class SNMPTCPMgr: @property def on_discovery_response() -> Callable[[SNMPTCPMgrDiscoveryResponseEventParams], None]: ... @on_discovery_response.setter def on_discovery_response(event_hook: Callable[[SNMPTCPMgrDiscoveryResponseEventParams], None]) -> None: ...
Remarks
EngineId, EngineBoots, EngineTime, and User are the values received from SourceAddress and SourcePort.
The SecurityLevel parameter shows whether the request has been authenticated. If SecurityLevel is 0, the request has NOT been authenticated (i.e. the packet signature has not been verified). For an authenticated request, SecurityLevel is at least 1.