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.


Constructor Index

 o TableIfTable(SnmpMib)
Constructor for the table.

Method Index

 o addEntry(IfEntry)
 o buildSnmpIndex(IfEntry)
Build index for "IfEntry"
 o buildSnmpIndex(long[], int)
Build index for "IfEntry"
 o checkValueOfEntry(SnmpValue, Object, long)
Implement the check method from the abstract SnmpMibNode class.
 o getEntries()
 o removeEntry(IfEntry)
 o setValueOfEntry(SnmpValue, SnmpIndex, long)
Implement the set method from the abstract SnmpMibNode class.

Constructors

 o TableIfTable
 public TableIfTable(SnmpMib myMib)
Constructor for the table. Initialize metadata for "TableIfTable"

Methods

 o addEntry
 public synchronized void addEntry(IfEntry entry) throws SnmpStatusException
Throws: SnmpStatusException
An error occurred while accessing a MIB node.
 o getEntries
 public synchronized IfEntry[] getEntries()
 o removeEntry
 public void removeEntry(IfEntry x)
 o buildSnmpIndex
 public SnmpIndex buildSnmpIndex(IfEntry entry) throws SnmpStatusException
Build index for "IfEntry"

Throws: SnmpStatusException
An error occurred while accessing a MIB node.
 o 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
 o 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
 o 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