com.adventnet.snmp.snmp2.agent
Class SimpleTrapForwardingTable

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
        |
        +--com.adventnet.snmp.snmp2.agent.BaseTrapForwardingTable
              |
              +--com.adventnet.snmp.snmp2.agent.SimpleTrapForwardingTable
Direct Known Subclasses:
V3SimpleTrapForwardingTable

public class SimpleTrapForwardingTable
extends BaseTrapForwardingTable

Handles all the requests for the TrapForwardingTable This will be instantiated if the V1V2ForwardingTable needs RemoteConfiguration.


Field Summary
(package private)  ForwardingTable forwardingTable
           
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTrapForwardingTable
COLUMNCOUNT, COMMUNITY, forwardingTable, forwardingTableOidRep, MANAGERHOST, MANAGERHOSTTYPE, MANAGERPORT, RETRIES, ROWSTATUS, TIMEOUT, tModelComplete, VERSION
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
instrumentHandler, listener, tableListener, writeEachTime
 
Constructor Summary
SimpleTrapForwardingTable()
          Primary Constructor
SimpleTrapForwardingTable(ForwardingTable forTable)
          Constructor with the ForwardingTable reference.
 
Method Summary
static ForwardingEntry createForwardingEntry(int id, java.lang.String managerHost, int managerPort)
          Deprecated. - use the other method. Creates a ForwardingEntry object for the SimpleTrapForwardingTable
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTrapForwardingTable
checkForRowStatus, createForwardingEntry, createForwardingEntry, createForwardingEntry, createForwardingEntry, getForwardingEntry, getNumRows, getOidRep, getSubidList, getTableVector, getV1v2ManagerHost, getV1v2ManagerPort, getV1v2ManagerStatus, processGetNextRequest, processGetRequest, processReadRequest, processSetRequest, processWriteRequest, setOidRep, setTableVector
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
addInstrumentHandler, addRegistrationListener, addTableListener, addUpdateListener, getInstrument, getMibVarHash, getNextRequest, getObjectHash, getObjectTypeHash, getRequest, getTableListener, isWriteEachTime, processGetNextRequest, processGetRequest, processSetRequest, removeRegistrationListener, removeUpdateListener, setRequest, setWriteEachTime, writeIntoFile
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

forwardingTable

ForwardingTable forwardingTable
Constructor Detail

SimpleTrapForwardingTable

public SimpleTrapForwardingTable()
Primary Constructor

SimpleTrapForwardingTable

public SimpleTrapForwardingTable(ForwardingTable forTable)
Constructor with the ForwardingTable reference.
Parameters:
forTable - the ForwardingTable instance.
Method Detail

createForwardingEntry

public static ForwardingEntry createForwardingEntry(int id,
                                                    java.lang.String managerHost,
                                                    int managerPort)
Deprecated. - use the other method. Creates a ForwardingEntry object for the SimpleTrapForwardingTable

Parameters:
id - the ID value.
managerHost - The IpAddress String specifying the HostName of the Manager to which the Notification or Trap is to be forwarded.
managerPort - The Integer specifying Manager's Port to which the Notification or Trap is to be forwarded
Returns:
ForwardingEntry created with the specified values
Since:
AdventNet Agent Toolkit (Java/JMX Edition) 5.0