com.adventnet.snmp.mibs.agent
Class TrapForwardingEntry

java.lang.Object
  |
  +--com.adventnet.snmp.mibs.agent.TrapForwardingEntry

public class TrapForwardingEntry
extends java.lang.Object
implements TableEntry

This class represents a row in the TrapForwardingTable

Stores all the row elements in AgentTableModel


Field Summary
(package private)  int[] instanceOID
           
 
Constructor Summary
TrapForwardingEntry()
           
 
Method Summary
 int[] computeInstanceOID()
          This method is called whenever the instanceOID needs to be recomputed
 SnmpVar getId()
          Getter for the id which identifies the INDEX .
 int[] getInstanceOID()
          Getter for instanceOID .
 SnmpVar getManagerHost()
          Getter for the managerHost which is used for forwarding.
 SnmpVar getManagerPort()
          Getter for the managerPort which is used for forwarding.
 SnmpVar getRowStatus()
          Getter for RowStatus.
 void setId(SnmpVar id)
          Setter for the id which identifies the INDEX .
 void setInstanceOID(int[] instanceOID)
          Setter for instanceOID.
 void setManagerHost(SnmpVar host)
          Setter for the managerHost which is used for forwarding.
 void setManagerPort(SnmpVar port)
          Setter for the managerPort which is used for forwarding.
 void setRowStatus(SnmpVar rowStat)
          Setter for RowStatus, 1 for active.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceOID

int[] instanceOID
Constructor Detail

TrapForwardingEntry

public TrapForwardingEntry()
Method Detail

getId

public SnmpVar getId()
              throws AgentSnmpException
Getter for the id which identifies the INDEX .
Returns:
SnmpVar
See Also:
setId()

getManagerHost

public SnmpVar getManagerHost()
                       throws AgentSnmpException
Getter for the managerHost which is used for forwarding.
Returns:
SnmpVar
See Also:
setManagerHost()

getManagerPort

public SnmpVar getManagerPort()
                       throws AgentSnmpException
Getter for the managerPort which is used for forwarding.
Returns:
SnmpVar
See Also:
setManagerPort()

getRowStatus

public SnmpVar getRowStatus()
                     throws AgentSnmpException
Getter for RowStatus. 1 for Active.
See Also:
setRowStatus()

setId

public void setId(SnmpVar id)
           throws AgentSnmpException
Setter for the id which identifies the INDEX .
See Also:
getId()

setManagerHost

public void setManagerHost(SnmpVar host)
                    throws AgentSnmpException
Setter for the managerHost which is used for forwarding.
See Also:
getManagerHost()

setManagerPort

public void setManagerPort(SnmpVar port)
                    throws AgentSnmpException
Setter for the managerPort which is used for forwarding.
See Also:
getManagerPort()

setRowStatus

public void setRowStatus(SnmpVar rowStat)
                  throws AgentSnmpException
Setter for RowStatus, 1 for active.
See Also:
getRowStatus()

getInstanceOID

public int[] getInstanceOID()
Getter for instanceOID .
Specified by:
getInstanceOID in interface TableEntry
See Also:
setInstanceOID()

setInstanceOID

public void setInstanceOID(int[] instanceOID)
Setter for instanceOID.
Specified by:
setInstanceOID in interface TableEntry
See Also:
getInstanceOID()

computeInstanceOID

public int[] computeInstanceOID()
This method is called whenever the instanceOID needs to be recomputed
Specified by:
computeInstanceOID in interface TableEntry
Returns:
Instance OID of this entry