|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpTableEntryFactory
This interface is implemented by mibgen generated table objects
inheriting from SnmpTableSupport
.
It is used internally by the metadata whenever a remote SNMP manager requests the creation of a new entry through an SNMP SET.
At creation, the mibgen generated table object retrieves its corresponding metadata from the MIB and registers with this metadata as a SnmpTableEntryFactory.
Method Summary | |
---|---|
void |
createNewEntry(SnmpMibSubRequest request,
SnmpOid rowOid,
int depth,
SnmpMibTable meta)
This method is called by the SNMP runtime whenever a new entry creation is requested by a remote manager. |
Methods inherited from interface com.sun.management.snmp.agent.SnmpTableCallbackHandler |
---|
addEntryCb, removeEntryCb |
Method Detail |
---|
void createNewEntry(SnmpMibSubRequest request, SnmpOid rowOid, int depth, SnmpMibTable meta) throws SnmpStatusException
addEntry()
on the given meta
object.
mibgen
on table
objects (inheriting from
SnmpTableSupport
). This method is called internally by the SNMP runtime whenever a new entry creation is requested by a remote SNMP manager. You should never need to call this method directly.
request
- The SNMP subrequest containing the sublist of varbinds
for the new entry.rowOid
- The OID indexing the conceptual row (entry) for which
the creation was requested.depth
- The depth reached in the OID tree (the position at
which the columnar object ids start in the OIDs
included in the varbind).meta
- The metadata object impacted by the subrequest
SnmpStatusException
- The new entry cannot be created.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |