IP*Works! S/SNMP V6

ipworksssnmp
Class SnmpmgrDiscoveryRequestEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworksssnmp.SnmpmgrDiscoveryRequestEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpmgrDiscoveryRequestEvent
extends java.util.EventObject

Fired when an SNMPv3 discovery packet is received.

EngineId , EngineBoots , EngineTime , and User are the values received from SourceAddress .

For SNMPv3, the User parameter shows the user that was supplied with the packet. This parameter MUST be used together with the SecurityLevel parameter which shows the level of security in the message.

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, non encrypted request, SecurityLevel is 1. For an authenticated and encrypted request, SecurityLevel is 2.

Respond is True by default, and will automatically send a response using the value in LocalEngineId . To suppress the response, set Respond to False.

The value returned to SourceAddress for EngineBoots is always 1, and EngineTime is the number of seconds since January 1st, 1970 (GMT).

See Also:
Snmpmgr, Snmpmgr.DiscoveryRequestEvent, Serialized Form

Field Summary
 int engineBoots
           
 byte[] engineId
           
 int engineTime
           
 boolean respond
           
 int securityLevel
           
 java.lang.String sourceAddress
           
 int sourcePort
           
 java.lang.String user
           
 
Fields inherited from class java.util.EventObject
source
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

engineId

public byte[] engineId

engineBoots

public int engineBoots

engineTime

public int engineTime

user

public java.lang.String user

securityLevel

public int securityLevel

sourceAddress

public java.lang.String sourceAddress

sourcePort

public int sourcePort

respond

public boolean respond

IP*Works! S/SNMP V6

Copyright (c) 2005 /n software inc. - All rights reserved.