Package org.opends.server.snmp
Class DsApplIfOpsTableMeta
- java.lang.Object
-
- com.sun.management.snmp.agent.SnmpMibNode
-
- com.sun.management.snmp.agent.SnmpMibTable
-
- org.opends.server.snmp.DsApplIfOpsTableMeta
-
- All Implemented Interfaces:
Serializable
,NotificationBroadcaster
public class DsApplIfOpsTableMeta extends com.sun.management.snmp.agent.SnmpMibTable implements Serializable
The class is used for implementing the "DsApplIfOpsTable" group. The group is defined with the following oid: 1.3.6.1.2.1.66.2.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.sun.management.snmp.agent.SnmpStandardObjectServer
objectserver
Reference to the object server.
-
Constructor Summary
Constructors Constructor Description DsApplIfOpsTableMeta(com.sun.management.snmp.agent.SnmpMib myMib, com.sun.management.snmp.agent.SnmpStandardObjectServer objserv)
Constructor for the table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(com.sun.management.snmp.SnmpOid rowOid, ObjectName objname, Object entry)
void
check(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth)
protected DsApplIfOpsEntryMeta
createDsApplIfOpsEntryMetaNode(String snmpEntryName, String tableName, com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server)
Factory method for "DsApplIfOpsEntry" entry metadata class.void
createNewEntry(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth)
void
get(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth)
long
getNextVarEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data)
Returns the arc of the next columnar object following "var".boolean
isReadableEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data)
Returns true if "var" identifies a readable scalar object.boolean
isRegistrationRequired()
void
registerEntryNode(com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server)
void
set(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth)
boolean
skipEntryVariable(com.sun.management.snmp.SnmpOid rowOid, long var, Object data, int pduVersion)
void
validateVarEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data)
check that the given "var" identifies a columnar object.-
Methods inherited from class com.sun.management.snmp.agent.SnmpMibTable
addEntry, addNotificationListener, beginRowAction, check, checkRemoveTableRow, checkRowStatusChange, contains, endRowAction, get, getBasicEntries, getEntry, getEntryName, getNextOid, getNextOid, getNextVarEntryId, getNotificationInfo, getRowAction, getSize, hasRowStatus, isCreationEnabled, isRowReady, isRowStatus, mapRowStatus, registerEntryFactory, removeEntry, removeEntry, removeEntry, removeNotificationListener, removeTableRow, set, setCreationEnabled, setRowStatus
-
-
-
-
Constructor Detail
-
DsApplIfOpsTableMeta
public DsApplIfOpsTableMeta(com.sun.management.snmp.agent.SnmpMib myMib, com.sun.management.snmp.agent.SnmpStandardObjectServer objserv)
Constructor for the table. Initialize metadata for "DsApplIfOpsTableMeta". The reference on the MBean server is updated so the entries created through an SNMP SET will be AUTOMATICALLY REGISTERED in Java DMK.
-
-
Method Detail
-
createDsApplIfOpsEntryMetaNode
protected DsApplIfOpsEntryMeta createDsApplIfOpsEntryMetaNode(String snmpEntryName, String tableName, com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server)
Factory method for "DsApplIfOpsEntry" entry metadata class. You can redefine this method if you need to replace the default generated metadata class with your own customized class.- Parameters:
snmpEntryName
- Name of the SNMP Entry object (conceptual row) ("DsApplIfOpsEntry")tableName
- Name of the table in which the entries are registered ("DsApplIfOpsTable")mib
- The SnmpMib object in which this table is registeredserver
- MBeanServer for this table entries (may be null)- Returns:
- An instance of the metadata class generated for the "DsApplIfOpsEntry" conceptual row (DsApplIfOpsEntryMeta)
-
createNewEntry
public void createNewEntry(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth) throws com.sun.management.snmp.SnmpStatusException
- Specified by:
createNewEntry
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
isRegistrationRequired
public boolean isRegistrationRequired()
- Specified by:
isRegistrationRequired
in classcom.sun.management.snmp.agent.SnmpMibTable
-
registerEntryNode
public void registerEntryNode(com.sun.management.snmp.agent.SnmpMib mib, MBeanServer server)
-
addEntry
public void addEntry(com.sun.management.snmp.SnmpOid rowOid, ObjectName objname, Object entry) throws com.sun.management.snmp.SnmpStatusException
- Overrides:
addEntry
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
get
public void get(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth) throws com.sun.management.snmp.SnmpStatusException
- Specified by:
get
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
set
public void set(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth) throws com.sun.management.snmp.SnmpStatusException
- Specified by:
set
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
check
public void check(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth) throws com.sun.management.snmp.SnmpStatusException
- Specified by:
check
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
validateVarEntryId
public void validateVarEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data) throws com.sun.management.snmp.SnmpStatusException
check that the given "var" identifies a columnar object.- Specified by:
validateVarEntryId
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
isReadableEntryId
public boolean isReadableEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data) throws com.sun.management.snmp.SnmpStatusException
Returns true if "var" identifies a readable scalar object.- Specified by:
isReadableEntryId
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
getNextVarEntryId
public long getNextVarEntryId(com.sun.management.snmp.SnmpOid rowOid, long var, Object data) throws com.sun.management.snmp.SnmpStatusException
Returns the arc of the next columnar object following "var".- Specified by:
getNextVarEntryId
in classcom.sun.management.snmp.agent.SnmpMibTable
- Throws:
com.sun.management.snmp.SnmpStatusException
-
skipEntryVariable
public boolean skipEntryVariable(com.sun.management.snmp.SnmpOid rowOid, long var, Object data, int pduVersion)
- Overrides:
skipEntryVariable
in classcom.sun.management.snmp.agent.SnmpMibTable
-
-