public class DsMIBMeta extends SnmpMibGroup implements Serializable
Modifier and Type | Field and Description |
---|---|
protected DsMIBMBean |
node |
protected SnmpStandardObjectServer |
objectserver |
protected DsApplIfOpsTableMeta |
tableDsApplIfOpsTable |
protected DsIntTableMeta |
tableDsIntTable |
protected DsTableMeta |
tableDsTable |
Constructor and Description |
---|
DsMIBMeta(SnmpMib myMib,
SnmpStandardObjectServer objserv)
Constructor for the metadata associated to "DsMIB".
|
Modifier and Type | Method and Description |
---|---|
void |
check(SnmpMibSubRequest req,
int depth) |
void |
check(SnmpValue x,
long var,
Object data)
Check the value of a scalar variable
|
protected DsApplIfOpsTableMeta |
createDsApplIfOpsTableMetaNode(String tableName,
String groupName,
SnmpMib mib,
MBeanServer server)
Factory method for "DsApplIfOpsTable" table metadata class.
|
protected DsIntTableMeta |
createDsIntTableMetaNode(String tableName,
String groupName,
SnmpMib mib,
MBeanServer server)
Factory method for "DsIntTable" table metadata class.
|
protected DsTableMeta |
createDsTableMetaNode(String tableName,
String groupName,
SnmpMib mib,
MBeanServer server)
Factory method for "DsTable" table metadata class.
|
SnmpValue |
get(long var,
Object data)
Get the value of a scalar variable
|
void |
get(SnmpMibSubRequest req,
int depth) |
String |
getAttributeName(long id)
Return the name of the attribute corresponding to the SNMP variable identified by "id".
|
SnmpMibTable |
getTable(long arc)
Returns the table object identified by "arc".
|
boolean |
isReadable(long arc)
Returns true if "arc" identifies a readable scalar object.
|
boolean |
isTable(long arc)
Returns true if "arc" identifies a table object.
|
boolean |
isVariable(long arc)
Returns true if "arc" identifies a scalar object.
|
void |
registerTableNodes(SnmpMib mib,
MBeanServer server)
Register the group's SnmpMibTable objects with the meta-data.
|
void |
set(SnmpMibSubRequest req,
int depth) |
SnmpValue |
set(SnmpValue x,
long var,
Object data)
Set the value of a scalar variable
|
protected void |
setInstance(DsMIBMBean var)
Allow to bind the metadata description to a specific object.
|
boolean |
skipVariable(long var,
Object data,
int pduVersion) |
protected DsMIBMBean node
protected SnmpStandardObjectServer objectserver
protected DsIntTableMeta tableDsIntTable
protected DsApplIfOpsTableMeta tableDsApplIfOpsTable
protected DsTableMeta tableDsTable
public DsMIBMeta(SnmpMib myMib, SnmpStandardObjectServer objserv)
public SnmpValue get(long var, Object data) throws SnmpStatusException
SnmpStatusException
public SnmpValue set(SnmpValue x, long var, Object data) throws SnmpStatusException
SnmpStatusException
public void check(SnmpValue x, long var, Object data) throws SnmpStatusException
SnmpStatusException
protected void setInstance(DsMIBMBean var)
public void get(SnmpMibSubRequest req, int depth) throws SnmpStatusException
SnmpStatusException
public void set(SnmpMibSubRequest req, int depth) throws SnmpStatusException
SnmpStatusException
public void check(SnmpMibSubRequest req, int depth) throws SnmpStatusException
SnmpStatusException
public boolean isVariable(long arc)
public boolean isReadable(long arc)
public boolean skipVariable(long var, Object data, int pduVersion)
public String getAttributeName(long id) throws SnmpStatusException
SnmpStatusException
public boolean isTable(long arc)
public SnmpMibTable getTable(long arc)
public void registerTableNodes(SnmpMib mib, MBeanServer server)
protected DsIntTableMeta createDsIntTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server)
tableName
- Name of the table object ("DsIntTable")groupName
- Name of the group to which this table belong ("DsMIB")mib
- The SnmpMib object in which this table is registeredserver
- MBeanServer for this table entries (may be null)protected DsApplIfOpsTableMeta createDsApplIfOpsTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server)
tableName
- Name of the table object ("DsApplIfOpsTable")groupName
- Name of the group to which this table belong ("DsMIB")mib
- The SnmpMib object in which this table is registeredserver
- MBeanServer for this table entries (may be null)protected DsTableMeta createDsTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server)
tableName
- Name of the table object ("DsTable")groupName
- Name of the group to which this table belong ("DsMIB")mib
- The SnmpMib object in which this table is registeredserver
- MBeanServer for this table entries (may be null)Copyright 2010-2020 ForgeRock AS.