org.snmp4j.event
Class SnmpEngineEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.snmp4j.event.SnmpEngineEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmpEngineEvent
extends java.util.EventObject

The SnmpEngineEvent describes events generated on behalf of the engine ID cache of the SNMPv3 message processing model (MPv3).

Since:
1.6
Version:
1.6
Author:
Frank Fock
See Also:
Serialized Form

Field Summary
static int ADDED_ENGINE_ID
           
static int REMOVED_ENGINE_ID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SnmpEngineEvent(java.lang.Object source, int type, OctetString engineID, Address engineAddress)
           
 
Method Summary
 Address getEngineAddress()
          Returns the transport address of the engine.
 OctetString getEngineID()
          Returns the engine ID associated with this event.
 int getType()
          Returns the type of the engine event.
 
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

ADDED_ENGINE_ID

public static final int ADDED_ENGINE_ID
See Also:
Constant Field Values

REMOVED_ENGINE_ID

public static final int REMOVED_ENGINE_ID
See Also:
Constant Field Values
Constructor Detail

SnmpEngineEvent

public SnmpEngineEvent(java.lang.Object source,
                       int type,
                       OctetString engineID,
                       Address engineAddress)
Method Detail

getType

public int getType()
Returns the type of the engine event.

Returns:
one of the integer constants defined by this class.

getEngineID

public OctetString getEngineID()
Returns the engine ID associated with this event.

Returns:
the engine ID.

getEngineAddress

public Address getEngineAddress()
Returns the transport address of the engine.

Returns:
the transport address.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.