All Packages Class Hierarchy This Package Previous Next Index
Class examples.snmp.agent.TableIfTable
java.lang.Object
|
+----com.sun.jaw.snmp.agent.internal.SnmpMibNode
|
+----com.sun.jaw.snmp.agent.SnmpMibTable
|
+----examples.snmp.agent.TableIfTable
- public class TableIfTable
- extends SnmpMibTable
- implements Serializable
The class is used for implementing the "IfTable" group.
The group is defined with the following oid: 1.3.6.1.2.1.2.2.
-
TableIfTable(SnmpMib)
- Constructor for the table.
-
addEntry(IfEntry)
-
-
buildSnmpIndex(IfEntry)
- Build index for "IfEntry"
-
buildSnmpIndex(long[], int)
- Build index for "IfEntry"
-
checkValueOfEntry(SnmpValue, Object, long)
- Implement the check method from the abstract SnmpMibNode class.
-
getEntries()
-
-
removeEntry(IfEntry)
-
-
setValueOfEntry(SnmpValue, SnmpIndex, long)
- Implement the set method from the abstract SnmpMibNode class.
TableIfTable
public TableIfTable(SnmpMib myMib)
- Constructor for the table. Initialize metadata for "TableIfTable"
addEntry
public synchronized void addEntry(IfEntry entry) throws SnmpStatusException
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
getEntries
public synchronized IfEntry[] getEntries()
removeEntry
public void removeEntry(IfEntry x)
buildSnmpIndex
public SnmpIndex buildSnmpIndex(IfEntry entry) throws SnmpStatusException
- Build index for "IfEntry"
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
buildSnmpIndex
public SnmpIndex buildSnmpIndex(long index[],
int start) throws SnmpStatusException
- Build index for "IfEntry"
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
- Overrides:
- buildSnmpIndex in class SnmpMibTable
setValueOfEntry
public SnmpValue setValueOfEntry(SnmpValue x,
SnmpIndex index,
long var) throws SnmpStatusException
- Implement the set method from the abstract SnmpMibNode class.
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
- Overrides:
- setValueOfEntry in class SnmpMibTable
checkValueOfEntry
public void checkValueOfEntry(SnmpValue x,
Object obj,
long var) throws SnmpStatusException
- Implement the check method from the abstract SnmpMibNode class.
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
- Overrides:
- checkValueOfEntry in class SnmpMibTable
All Packages Class Hierarchy This Package Previous Next Index