DiscoveryResponse Event

Fired when an SNMPv3 discovery response is received.

Syntax

class SNMPTCPMgrDiscoveryResponseEventParams {
public:
  const QByteArray &EngineId();
  int EngineBoots();
  int EngineTime();
  const QString &User();
  int SecurityLevel();
  const QString &SourceAddress();
  int SourcePort();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void DiscoveryResponse(SNMPTCPMgrDiscoveryResponseEventParams *e);
// Or, subclass SNMPTCPMgr and override this emitter function. virtual int FireDiscoveryResponse(SNMPTCPMgrDiscoveryResponseEventParams *e) {...}

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 Qt Edition - Version 20.0 [Build 8202]