java.io.Serializable
public class UsmUserEvent
extends java.util.EventObject
USM
is created
modified or deleted.Modifier and Type | Field | 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.
|
Constructor | Description |
---|---|
UsmUserEvent(SecurityModel source,
UsmUserEntry changedEntry,
int type) |
Construct a UsmUserEvent.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getType() |
Return the type of operation that triggered this event.
|
UsmUserEntry |
getUser() |
Get the modified entry of the
UsmUserTable . |
public 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 © 2018 SNMP4J.org. All rights reserved.