|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.snmp4j.event.UsmUserEvent
public class UsmUserEvent
This Event is issued whenever a user of the USM
is created
modified or deleted.
Field Summary | |
---|---|
static int |
USER_ADDED
Constant: a new user was created. |
static int |
USER_CHANGED
Constant: a user was changed (but not deleted). |
static int |
USER_REMOVED
Constant: a user was deleted. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
UsmUserEvent(java.lang.Object source,
UsmUserEntry changedEntry,
int type)
Construct a UsmUserEvent. |
Method Summary | |
---|---|
int |
getType()
Return the type of operation that triggered this event. |
UsmUserEntry |
getUser()
Get the modified entry of the UsmUserTable . |
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 |
---|
public static final int USER_ADDED
public static final int USER_REMOVED
public static final int USER_CHANGED
Constructor Detail |
---|
public UsmUserEvent(java.lang.Object source, UsmUserEntry changedEntry, int type)
source
- the object that emitts this eventchangedEntry
- the changed entrytype
- can be USER_ADDED, USER_REMOVED or USER_CHANGED.Method Detail |
---|
public UsmUserEntry getUser()
UsmUserTable
.
public int getType()
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |