- java.lang.Object
-
- java.util.EventObject
-
- org.snmp4j.event.SnmpEngineEvent
-
public class SnmpEngineEvent extends java.util.EventObject
TheSnmpEngineEvent
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
Fields Modifier and Type Field Description static int
ADDED_ENGINE_ID
static int
IGNORED_ENGINE_ID
static int
REMOVED_ENGINE_ID
-
Constructor Summary
Constructors Constructor Description SnmpEngineEvent(MPv3 source, int type, OctetString engineID, Address engineAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
IGNORED_ENGINE_ID
public static final int IGNORED_ENGINE_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SnmpEngineEvent
public SnmpEngineEvent(MPv3 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.
-
-