public class UsmUserEvent extends EventObject
USM is created
modified or deleted.| Modifier and Type | Field and Description |
|---|---|
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.
|
source| Constructor and Description |
|---|
UsmUserEvent(SecurityModel source,
UsmUserEntry changedEntry,
int type)
Construct a UsmUserEvent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Return the type of operation that triggered this event.
|
UsmUserEntry |
getUser()
Get the modified entry of the
UsmUserTable. |
getSource, toStringpublic static final int USER_ADDED
public static final int USER_REMOVED
public static final int USER_CHANGED
public UsmUserEvent(SecurityModel source, UsmUserEntry changedEntry, int type)
source - the object that emitts this eventchangedEntry - the changed entrytype - can be USER_ADDED, USER_REMOVED or USER_CHANGED.public UsmUserEntry getUser()
UsmUserTable.public int getType()
Copyright © 2016 SNMP4J.org. All Rights Reserved.