com.adventnet.adaptors.snmp
Class ForwardingTableMBean

java.lang.Object
  |
  +--com.adventnet.adaptors.snmp.ForwardingTableMBean

public class ForwardingTableMBean
extends java.lang.Object

Handles all requests under V1V2ForwardingTable group


Field Summary
(package private)  ForwardingTable forTable
           
 
Constructor Summary
ForwardingTableMBean(ForwardingTable table)
          Constructor with the ForwardingTable reference.
 
Method Summary
 TabularData getForwardingTable()
          Method to retrieve this Table.
 java.lang.String[] getIndexNames()
          To get the index column names of the table
 java.util.Vector getTableVector()
          Method to retrieve the Vector of ForwardingEntries.
 void setForwardingTable(TabularData data)
          Method to set the Table data.
 void setTableVector(java.util.Vector vec)
          Method to populate this Table with the Vector.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forTable

ForwardingTable forTable
Constructor Detail

ForwardingTableMBean

public ForwardingTableMBean(ForwardingTable table)
Constructor with the ForwardingTable reference.
Parameters:
table - The ForwardingTable to be managed by this MBean.
Method Detail

getIndexNames

public java.lang.String[] getIndexNames()
To get the index column names of the table
Returns:
The indexNames of this Table as a String[]

setTableVector

public void setTableVector(java.util.Vector vec)
Method to populate this Table with the Vector.
Parameters:
vec - the Vector of ForwardingEntry instances.

getTableVector

public java.util.Vector getTableVector()
Method to retrieve the Vector of ForwardingEntries.
Returns:
The Vector of ForwardingEntries.

getForwardingTable

public TabularData getForwardingTable()
Method to retrieve this Table.
Returns:
The TabularData contining the ForwardingTable informations.

setForwardingTable

public void setForwardingTable(TabularData data)
                        throws java.lang.Exception
Method to set the Table data.
Parameters:
data - The TabularData to be set
Throws:
java.lang.Exception - This wraps all the exceptions thrown during this process.