com.adventnet.snmp.mibs.agent
Class TrapForwardingEntry

java.lang.Object
  extended by com.adventnet.snmp.mibs.agent.TrapForwardingEntry
All Implemented Interfaces:
TableEntry

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
Throws:
AgentSnmpException
See Also:
setId()

getManagerHost

public SnmpVar getManagerHost()
                       throws AgentSnmpException
Getter for the managerHost which is used for forwarding.

Returns:
SnmpVar
Throws:
AgentSnmpException
See Also:
setManagerHost()

getManagerPort

public SnmpVar getManagerPort()
                       throws AgentSnmpException
Getter for the managerPort which is used for forwarding.

Returns:
SnmpVar
Throws:
AgentSnmpException
See Also:
setManagerPort()

getRowStatus

public SnmpVar getRowStatus()
                     throws AgentSnmpException
Getter for RowStatus. 1 for Active.

Throws:
AgentSnmpException
See Also:
setRowStatus()

setId

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

Throws:
AgentSnmpException
See Also:
getId()

setManagerHost

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

Throws:
AgentSnmpException
See Also:
getManagerHost()

setManagerPort

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

Throws:
AgentSnmpException
See Also:
getManagerPort()

setRowStatus

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

Throws:
AgentSnmpException
See Also:
getRowStatus()

getInstanceOID

public int[] getInstanceOID()
Getter for instanceOID .

Specified by:
getInstanceOID in interface TableEntry
Returns:
The instance oid of this entry.
See Also:
setInstanceOID()

setInstanceOID

public void setInstanceOID(int[] instanceOID)
Setter for instanceOID.

Specified by:
setInstanceOID in interface TableEntry
Parameters:
instanceOID - The Value of the InstanceaOOD to set.
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