Package org.snmp4j.event
Class SnmpEngineEvent
java.lang.Object
java.util.EventObject
org.snmp4j.event.SnmpEngineEvent
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSnmpEngineEvent(MPv3 source, int type, OctetString engineID, Address engineAddress) -
Method Summary
Modifier and TypeMethodDescriptionReturns the transport address of the engine.Returns the engine ID associated with this event.intgetType()Returns the type of the engine event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
ADDED_ENGINE_ID
public static final int ADDED_ENGINE_ID- See Also:
-
REMOVED_ENGINE_ID
public static final int REMOVED_ENGINE_ID- See Also:
-
IGNORED_ENGINE_ID
public static final int IGNORED_ENGINE_ID- See Also:
-
-
Constructor Details
-
SnmpEngineEvent
-
-
Method Details
-
getType
public int getType()Returns the type of the engine event.- Returns:
- one of the integer constants defined by this class.
-
getEngineID
Returns the engine ID associated with this event.- Returns:
- the engine ID.
-
getEngineAddress
Returns the transport address of the engine.- Returns:
- the transport address.
-