IPWorks SNMP 2020 Kotlin Edition

Questions / Feedback?

DiscoveryResponse Event

Fired when an SNMPv3 discovery response is received.

Syntax

public open class DefaultSnmptcpmgrEventListener : SnmptcpmgrEventListener {
  ...
  public override fun discoveryResponse(e: SnmptcpmgrDiscoveryResponseEvent) {}
  ...
}

public class SnmptcpmgrDiscoveryResponseEvent {
  val engineId: ByteArray?
  val engineBoots: Int
  val engineTime: Int
  val user: String?
  val securityLevel: Int
  val sourceAddress: String?
  val sourcePort: Int
}

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) 2021 /n software inc. - All rights reserved.
IPWorks SNMP 2020 Kotlin Edition - Version 20.0 [Build 7941]