IP*Works! S/SNMP V6

ipworksssnmp
Class SnmptrapmgrCheckEngineEvent

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

public class SnmptrapmgrCheckEngineEvent
extends java.util.EventObject

Fired to check engine parameters (timeliness, etc..).

The Accept parameter determines if the engine will be accepted or not. If you set Accept to False prior to exiting the event, the processing on the message will stop and a BadPacket event will be fired.

The default value of Accept is True if and only if:

a) the engine already exists in the internal authentication cache (the IsNew parameter is False) and the timeliness has been verified;

b) the engine does not exist in the internal authentication cache (the IsNew parameter is True), but the packet has been authenticated by the bean ( SecurityLevel >= 1).

In all other cases, the default value for Accept is False, and you are responsible for accepting or not accepting the engine based on other considerations.

If Accept is true upon event exit, then:

a) if the engine already exists in the internal authentication cache, its time is updated to reflect the new time and the processing of the packet continues;

b) if the engine does not exist in the internal authentication cache, it is added there and if User is authenticated, the User will be added too.

See Also:
Snmptrapmgr, Snmptrapmgr.CheckEngineEvent, Serialized Form

Field Summary
 boolean accept
           
 int engineBoots
           
 byte[] engineId
           
 int engineTime
           
 boolean isNew
           
 java.lang.String remoteAddress
           
 int remotePort
           
 int securityLevel
           
 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

remoteAddress

public java.lang.String remoteAddress

remotePort

public int remotePort

isNew

public boolean isNew

accept

public boolean accept

IP*Works! S/SNMP V6

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