|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.snmp.agent.SnmpTableSupport
com.sun.management.snmp.usm.usmmib.TableUsmUserTable
com.sun.management.snmp.usm.usmmib.TableUsmUserTableImpl
The table has been customized to instantiate UsmUserEntryImpl. You
can overload createUsmUserEntry method in order to
instantiate your own UsmUserEntry.
| Field Summary | |
static int |
MAX_USM_USER_NAME_LENGTH
|
| Fields inherited from class com.sun.management.snmp.usm.usmmib.TableUsmUserTable |
server |
| Fields inherited from class com.sun.management.snmp.agent.SnmpTableSupport |
entries, meta, theMib |
| Constructor Summary | |
TableUsmUserTableImpl(SnmpEngine engine,
SnmpMib myMib,
MBeanServer server,
SnmpUsmLcd lcd)
Constructor for the table. |
|
TableUsmUserTableImpl(SnmpEngine engine,
SnmpMib myMib,
SnmpUsmLcd lcd)
Constructor. |
|
| Method Summary | |
void |
addEntryCb(int pos,
SnmpOid row,
ObjectName name,
Object entry,
SnmpMibTable meta)
This callback is called by the associated metadata object when a new table entry has been registered in the table metadata. |
protected UsmUserEntryImpl |
createUsmUserEntry(SnmpEngine engine,
SnmpMib mib,
SnmpUsmLcd lcd,
SnmpUsmSecureUser user,
SnmpMibTable tableMeta)
Overload this method in order to instantiate your own UsmUserEntry. |
Object |
createUsmUserEntryMBean(SnmpMibSubRequest req,
SnmpOid rowOid,
int depth,
ObjectName entryObjName,
SnmpMibTable meta,
Byte[] aUsmUserEngineID,
String aUsmUserName)
Factory method for "UsmUserEntry" entry MBean class. |
void |
removeEntryCb(int pos,
SnmpOid row,
ObjectName name,
Object entry,
SnmpMibTable meta)
A user has been removed from SNMP. |
void |
userAdded(SnmpUsmSecureUser user)
See SnmpUsmMibTable interface for documentation. |
void |
userRemoved(SnmpUsmSecureUser user)
See SnmpUsmMibTable interface for documentation. |
void |
userUpdated(SnmpUsmSecureUser user)
See SnmpUsmMibTable interface for documentation. |
| Methods inherited from class com.sun.management.snmp.usm.usmmib.TableUsmUserTable |
addEntry, addEntry, buildNameFromIndex, buildOidFromIndex, buildOidFromIndexVal, buildSnmpIndex, buildSnmpIndex, createNewEntry, getEntries, getRegisteredTableMeta, removeEntry |
| Methods inherited from class com.sun.management.snmp.agent.SnmpTableSupport |
addEntry, addEntry, addNotificationListener, allocateTable, bindWithTableMeta, buildSnmpIndex, getBasicEntries, getEntry, getNotificationInfo, getSize, isCreationEnabled, isRegistrationRequired, removeEntry, removeNotificationListener, setCreationEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAX_USM_USER_NAME_LENGTH
| Constructor Detail |
public TableUsmUserTableImpl(SnmpEngine engine,
SnmpMib myMib,
SnmpUsmLcd lcd)
public TableUsmUserTableImpl(SnmpEngine engine,
SnmpMib myMib,
MBeanServer server,
SnmpUsmLcd lcd)
| Method Detail |
public Object createUsmUserEntryMBean(SnmpMibSubRequest req,
SnmpOid rowOid,
int depth,
ObjectName entryObjName,
SnmpMibTable meta,
Byte[] aUsmUserEngineID,
String aUsmUserName)
throws SnmpStatusException
TableUsmUserTable
createUsmUserEntryMBean in class TableUsmUserTableSnmpStatusException
protected UsmUserEntryImpl createUsmUserEntry(SnmpEngine engine,
SnmpMib mib,
SnmpUsmLcd lcd,
SnmpUsmSecureUser user,
SnmpMibTable tableMeta)
UsmUserEntryImpl .
engine - The local SNMP engine.mib - The current mib.lcd - The lcd the MIB is bound to.user - The lcd user bound to the newly created entry.public void userAdded(SnmpUsmSecureUser user)
userAdded in interface SnmpUsmMibTableuser - The newly added user.public void userUpdated(SnmpUsmSecureUser user)
userUpdated in interface SnmpUsmMibTableuser - The updated user.public void userRemoved(SnmpUsmSecureUser user)
userRemoved in interface SnmpUsmMibTableuser - The removed user.
public void addEntryCb(int pos,
SnmpOid row,
ObjectName name,
Object entry,
SnmpMibTable meta)
throws SnmpStatusException
SnmpTableSupportentries list.
addEntryCb in interface SnmpTableCallbackHandleraddEntryCb in class SnmpTableSupportpos - The position at which the new entry was inserted
in the table.row - The row OID of the new entryname - The ObjectName of the new entry (as specified by the
factory)entry - The new entry (as returned by the factory)meta - The table metadata object.
SnmpStatusException
public void removeEntryCb(int pos,
SnmpOid row,
ObjectName name,
Object entry,
SnmpMibTable meta)
throws SnmpStatusException
removeEntryCb in interface SnmpTableCallbackHandlerremoveEntryCb in class TableUsmUserTableSnmpStatusException
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||