com.adventnet.snmp.snmp2.agent
Class V3SimpleTrapForwardingTable

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

public class V3SimpleTrapForwardingTable
extends SimpleTrapForwardingTable
implements V3TrapForwardingTableInterface

This class Handles all requests for the v3TrapForwardingTable group. When the Agent is run as Snmp Version 3, this class handles the Forwarding the traps to registered Managers


Field Summary
(package private) static int COLUMNCOUNT
           
(package private)  V3ForwardingTable forwardingTable
           
(package private)  int[] forwardingTableOidRep
           
(package private) static int MANAGERCOMMUNITY
           
(package private) static int MANAGERHOST
           
(package private) static int MANAGERPORT
           
(package private) static int MANAGERRETRIES
           
(package private) static int MANAGERTIMEOUT
           
(package private) static int MANAGERVERSION
           
(package private) static int ROWSTATUS
           
(package private)  AgentTableModel tModelComplete
           
(package private) static int V3MANAGERHOSTTYPE
           
(package private) static int V3MANAGERUSERCONTEXTNAME
           
(package private) static int V3MANAGERUSERNAME
           
(package private) static int V3MANAGERUSERSECMODEL
           
(package private) static int V3SECURITYLEVEL
           
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleTrapForwardingTable
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
V3SimpleTrapForwardingTable()
          Primary Constructor
V3SimpleTrapForwardingTable(V3ForwardingTable table)
          Constructor with the V3ForwardingTable reference.
 
Method Summary
(package private)  boolean checkForRowStatus(V3ForwardingEntry entry)
           
static V3ForwardingEntry createV3ForwardingEntry(java.lang.Integer v3ManagerHostType, java.lang.String v3ManagerHost, java.lang.Integer v3ManagerPort, java.lang.Integer v3ManagerVersion, java.lang.String v3ManagerCommunity, java.lang.String v3ManagerUserName, java.lang.Long v3ManagerUserSecModel, java.lang.Integer v3SecurityLevel, java.lang.String v3ManagerUserContextName, java.lang.Long v3ManagerTimeOut, java.lang.Long v3ManagerRetries)
          Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable with the RowStatus value as Active
static V3ForwardingEntry createV3ForwardingEntry(java.lang.Integer v3ManagerHostType, java.lang.String v3ManagerHost, java.lang.Integer v3ManagerPort, java.lang.Integer v3ManagerVersion, java.lang.String v3ManagerCommunity, java.lang.String v3ManagerUserName, java.lang.Long v3ManagerUserSecModel, java.lang.Integer v3SecurityLevel, java.lang.String v3ManagerUserContextName, java.lang.Long v3ManagerTimeOut, java.lang.Long v3ManagerRetries, java.lang.Integer v3ManagerStatus)
          Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
static V3ForwardingEntry createV3ForwardingEntry(int v3Id, java.lang.String v3ManagerHost, int v3ManagerPort, java.lang.String v3ManagerUserName, int v3ManagerUserSecModel, java.lang.String v3ManagerUserContextName, java.lang.Integer v3SecurityLevel)
          Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
static V3ForwardingEntry createV3ForwardingEntry(java.lang.String v3ManagerHost, java.lang.Integer v3ManagerPort, java.lang.Integer v3ManagerVersion, java.lang.String v3ManagerCommunity, java.lang.String v3ManagerUserName, java.lang.Long v3ManagerUserSecModel, java.lang.Integer v3SecurityLevel, java.lang.String v3ManagerUserContextName, java.lang.Long v3ManagerTimeOut, java.lang.Long v3ManagerRetries)
          Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable with the RowStatus value as Active
static V3ForwardingEntry createV3ForwardingEntry(java.lang.String v3ManagerHost, java.lang.Integer v3ManagerPort, java.lang.Integer v3ManagerVersion, java.lang.String v3ManagerCommunity, java.lang.String v3ManagerUserName, java.lang.Long v3ManagerUserSecModel, java.lang.Integer v3SecurityLevel, java.lang.String v3ManagerUserContextName, java.lang.Long v3ManagerTimeOut, java.lang.Long v3ManagerRetries, java.lang.Integer v3ManagerStatus)
          Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
 java.lang.String getManagerHost(int index)
          Gets the manager host name to which we need to send the Traps
 int getManagerPort(int index)
          Gets the manager port to which we need to send the Traps
 int getNumRows()
          Getter of number of rows of the table
 int[] getOidRep()
          This method returns the OID representation of the Entry node of the V3TrapForwardingTable
 int getRowStatus(int index)
          Gets the row status of the table.
protected  int[] getSubidList()
          This method returns the subId list of the columns in the v3TrapForwardingTable
 java.util.Vector getTableVector()
          Getter of the Table Vector of the V3TrapForwardingTable
 V3ForwardingEntry getV3ForwardingEntry(int index)
          Getter for the Entry at the speified index.
 java.lang.String getV3ManagerHost(int index)
          Getter for the Targetted Manager Host.
 int getV3ManagerPort(int index)
          Getter for the Targetted Manager Port.
 java.lang.String getV3ManagerUserContextName(int index)
          Getter for the V3 Manager's User Context Name
 java.lang.String getV3ManagerUserName(int index)
          Getter for The V3 Manager's User Name based on the row index
 int getV3ManagerUserSecModel(int index)
          Getter for the V3 Manager's User Security Model
 int getV3RowStatus(int index)
          Getter for the Entry Status.
 int getV3SecurityLevel(int index)
          Getter for the V3 Manager Security Level
protected  void processGetNextRequest(java.util.Vector varbinds, java.util.Vector nodes, VarBindRequestEvent pe)
          This method is used for processing the incoming GETNEXT Requests
protected  void processGetRequest(java.util.Vector varbinds, java.util.Vector nodes, VarBindRequestEvent pe)
          This method along with processReadRequest is used for processing the GET Requests
protected  java.util.Vector processReadRequest(VarBindRequestEvent pe, V3ForwardingEntry entry, java.util.Vector attributesList, java.util.Hashtable varbindIndexHash)
          This method along with processGetRequest, will be used for processing the incoming GET Requests
protected  void processSetRequest(java.util.Vector varbinds, java.util.Vector nodes, VarBindRequestEvent pe)
          This method along with processWriteRequest is used for processing the incoming SET Requests
 java.util.Vector processWriteRequest(java.lang.String instanceString, java.util.Vector list, VarBindRequestEvent pe, java.util.Hashtable varbindIndexHash)
          This method along with the ProcessSetRequest is used for processing the Incoming Set Requests
(package private)  void setOidRep(int[] oidRep)
           
 void setTableVector(java.util.Vector tableVector)
          Setter for the Table Vector of the V3TrapForwardingTable
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleTrapForwardingTable
createForwardingEntry
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTrapForwardingTable
checkForRowStatus, createForwardingEntry, createForwardingEntry, createForwardingEntry, createForwardingEntry, getForwardingEntry, getV1v2ManagerHost, getV1v2ManagerPort, getV1v2ManagerStatus, processReadRequest
 
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

V3MANAGERHOSTTYPE

static final int V3MANAGERHOSTTYPE

MANAGERHOST

static final int MANAGERHOST

MANAGERPORT

static final int MANAGERPORT

MANAGERVERSION

static final int MANAGERVERSION

MANAGERCOMMUNITY

static final int MANAGERCOMMUNITY

V3MANAGERUSERNAME

static final int V3MANAGERUSERNAME

V3MANAGERUSERSECMODEL

static final int V3MANAGERUSERSECMODEL

V3SECURITYLEVEL

static final int V3SECURITYLEVEL

V3MANAGERUSERCONTEXTNAME

static final int V3MANAGERUSERCONTEXTNAME

MANAGERTIMEOUT

static final int MANAGERTIMEOUT

MANAGERRETRIES

static final int MANAGERRETRIES

ROWSTATUS

static final int ROWSTATUS

COLUMNCOUNT

static final int COLUMNCOUNT

forwardingTableOidRep

int[] forwardingTableOidRep

tModelComplete

AgentTableModel tModelComplete

forwardingTable

V3ForwardingTable forwardingTable
Constructor Detail

V3SimpleTrapForwardingTable

public V3SimpleTrapForwardingTable()
Primary Constructor

V3SimpleTrapForwardingTable

public V3SimpleTrapForwardingTable(V3ForwardingTable table)
Constructor with the V3ForwardingTable reference.
Parameters:
forTable - the V3ForwardingTable instance.
Method Detail

getOidRep

public int[] getOidRep()
This method returns the OID representation of the Entry node of the V3TrapForwardingTable
Overrides:
getOidRep in class BaseTrapForwardingTable
Returns:
int array of the v3ForwardingEntry OID

setOidRep

void setOidRep(int[] oidRep)
Overrides:
setOidRep in class BaseTrapForwardingTable

getSubidList

protected int[] getSubidList()
This method returns the subId list of the columns in the v3TrapForwardingTable
Overrides:
getSubidList in class BaseTrapForwardingTable
Returns:
int Array of the subIds available i.e., column subIds

setTableVector

public void setTableVector(java.util.Vector tableVector)
Setter for the Table Vector of the V3TrapForwardingTable
Overrides:
setTableVector in class BaseTrapForwardingTable
Parameters:
tableVector - a Vector of V3ForwardingEntry objects sorted according to the instance
See Also:
getTableVector()

getTableVector

public java.util.Vector getTableVector()
Getter of the Table Vector of the V3TrapForwardingTable
Overrides:
getTableVector in class BaseTrapForwardingTable
Returns:
Table Vector containing V3ForwardingEntry objects
See Also:
setTableVector(Vector tableVector)

processReadRequest

protected java.util.Vector processReadRequest(VarBindRequestEvent pe,
                                              V3ForwardingEntry entry,
                                              java.util.Vector attributesList,
                                              java.util.Hashtable varbindIndexHash)
This method along with processGetRequest, will be used for processing the incoming GET Requests
Parameters:
pe - VarbindRequestEvent
entry - Entry Object, which contains getter/setter methods for the attributes in this Table Group
attributesList - List of SnmpVarbinds of Attributes for which GET Request is to be perfortmed
varbindIndexHash - Hashtable for storing the index of the incoming varbinds
Returns:
List of Objects, for which GET is failed

processWriteRequest

public java.util.Vector processWriteRequest(java.lang.String instanceString,
                                            java.util.Vector list,
                                            VarBindRequestEvent pe,
                                            java.util.Hashtable varbindIndexHash)
This method along with the ProcessSetRequest is used for processing the Incoming Set Requests
Overrides:
processWriteRequest in class BaseTrapForwardingTable
Parameters:
instanceString - Index of the row in which SET Request is to be performed
list - List of SnmpVarbinds of Attributes for which SET is performed
pe - VarbindRequest Event
varbindIndexHash - Hashtable for storing the index of the incoming varbinds
Returns:
List of Objects, for which SET is failed

processGetRequest

protected void processGetRequest(java.util.Vector varbinds,
                                 java.util.Vector nodes,
                                 VarBindRequestEvent pe)
This method along with processReadRequest is used for processing the GET Requests
Overrides:
processGetRequest in class BaseTrapForwardingTable
Parameters:
varbinds - List of SnmpVarbinds for which GET Request is to be performed
nodes - List of Agent Nodes for which GET Request is performed
pe - VarbindRequest Event

processSetRequest

protected void processSetRequest(java.util.Vector varbinds,
                                 java.util.Vector nodes,
                                 VarBindRequestEvent pe)
This method along with processWriteRequest is used for processing the incoming SET Requests
Overrides:
processSetRequest in class BaseTrapForwardingTable
Parameters:
varbinds - List of SnmpVarbinds for which SET Request is performed
nodes - List of Agent Nodes for which SET Request is performed
pe - VarbindRequest Event

processGetNextRequest

protected void processGetNextRequest(java.util.Vector varbinds,
                                     java.util.Vector nodes,
                                     VarBindRequestEvent pe)
This method is used for processing the incoming GETNEXT Requests
Overrides:
processGetNextRequest in class BaseTrapForwardingTable
Parameters:
varbinds - List of varbinds for which the GETNEXT Request is to be performed
nodes - List of AgentNodes for which GETNEXT Request is to be performed
pe - VarbindRequest Event

checkForRowStatus

boolean checkForRowStatus(V3ForwardingEntry entry)
                    throws AgentSnmpException

getNumRows

public int getNumRows()
Getter of number of rows of the table
Specified by:
getNumRows in interface V3TrapForwardingTableInterface
Overrides:
getNumRows in class BaseTrapForwardingTable
Returns:
number of rows in the Table

getV3ManagerHost

public java.lang.String getV3ManagerHost(int index)
Getter for the Targetted Manager Host. Implementation of the V3TrapForwardingTableInterface.
Parameters:
ind - The int index of the Entry for which the Host is to be retrieved.
Returns:
The manager Host requested, null if the ind does not exist.

getV3ManagerPort

public int getV3ManagerPort(int index)
Getter for the Targetted Manager Port. Implementation of the V3TrapForwardingTableInterface.
Parameters:
ind - The int index of the Entry for which the port is to be retrieved.
Returns:
The manager port requested, -1 if the ind does not exist.

getV3RowStatus

public int getV3RowStatus(int index)
Getter for the Entry Status. Implementation of the V3TrapForwardingTableInterface.
Parameters:
ind - The int index of the Entry for which the Status is to be retrieved.
Returns:
The Entry Status requested, -1 if the ind does not exist.

getV3ManagerUserName

public java.lang.String getV3ManagerUserName(int index)
Getter for The V3 Manager's User Name based on the row index
Specified by:
getV3ManagerUserName in interface V3TrapForwardingTableInterface
Parameters:
index - The row Index
Returns:
The V3 Managers's User Name associated with the Row Index

getV3ManagerUserSecModel

public int getV3ManagerUserSecModel(int index)
Getter for the V3 Manager's User Security Model
Specified by:
getV3ManagerUserSecModel in interface V3TrapForwardingTableInterface
Parameters:
index - The Row Index
Returns:
The V3 Manager's User Security Model associated with the Row Index

getV3ManagerUserContextName

public java.lang.String getV3ManagerUserContextName(int index)
Getter for the V3 Manager's User Context Name
Specified by:
getV3ManagerUserContextName in interface V3TrapForwardingTableInterface
Parameters:
index - The Row Index
Returns:
The V3 Manager's User Context Name associated with the Row Index

getV3SecurityLevel

public int getV3SecurityLevel(int index)
Getter for the V3 Manager Security Level
Specified by:
getV3SecurityLevel in interface V3TrapForwardingTableInterface
Parameters:
index - The Row Index
Returns:
The V3 Manager's Security Level associated with the Row Index

getV3ForwardingEntry

public V3ForwardingEntry getV3ForwardingEntry(int index)
Getter for the Entry at the speified index. Implementation of the TrapForwardingTableInterface.
Specified by:
getV3ForwardingEntry in interface V3TrapForwardingTableInterface
Parameters:
ind - The int index of the Entry which is to be retrieved.
Returns:
The Entry requested.

createV3ForwardingEntry

public static V3ForwardingEntry createV3ForwardingEntry(java.lang.String v3ManagerHost,
                                                        java.lang.Integer v3ManagerPort,
                                                        java.lang.Integer v3ManagerVersion,
                                                        java.lang.String v3ManagerCommunity,
                                                        java.lang.String v3ManagerUserName,
                                                        java.lang.Long v3ManagerUserSecModel,
                                                        java.lang.Integer v3SecurityLevel,
                                                        java.lang.String v3ManagerUserContextName,
                                                        java.lang.Long v3ManagerTimeOut,
                                                        java.lang.Long v3ManagerRetries)
Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable with the RowStatus value as Active
Parameters:
v3ManagerHost - The String specifying the HostName or the IpAddress of the Manager to which the Notification or Trap is to be forwarded
v3ManagerPort - The Integer specifying Manager's Port to which the Notification or Trap is to be forwarded
v3ManagerVersion - The Integer specifying Version with which the Notification or Trap is to be forwarded
v3ManagerCommunity - The String specifying the Community with which the Notification or Trap is to be forwarded.
v3ManagerUserName - The String specifying the V3 Manager's registered User Name
v3ManagerUserSecModel - The Long specifying the V3 Manager's User Security Model
v3ManagerUserContextName - The String specifying the V3 Manager's User Context Name
v3SecurityLevel - The V3 manager's security level value.
v3ManagerTimeOut - The Long specifying the TimeOut value for the TrapPDU.
v3ManagerRetries - The Long specifying the Retries value for the TrapPDU.
Returns:
V3ForwardingEntry

createV3ForwardingEntry

public static V3ForwardingEntry createV3ForwardingEntry(java.lang.Integer v3ManagerHostType,
                                                        java.lang.String v3ManagerHost,
                                                        java.lang.Integer v3ManagerPort,
                                                        java.lang.Integer v3ManagerVersion,
                                                        java.lang.String v3ManagerCommunity,
                                                        java.lang.String v3ManagerUserName,
                                                        java.lang.Long v3ManagerUserSecModel,
                                                        java.lang.Integer v3SecurityLevel,
                                                        java.lang.String v3ManagerUserContextName,
                                                        java.lang.Long v3ManagerTimeOut,
                                                        java.lang.Long v3ManagerRetries)
Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable with the RowStatus value as Active
Parameters:
v3ManagerHostType - the type of the IPAddress of the Manager with which the Entry is to be created
v3ManagerHost - The String specifying IpAddress of the Manager to which the Notification or Trap is to be forwarded
v3ManagerPort - The Integer specifying Manager's Port to which the Notification or Trap is to be forwarded
v3ManagerVersion - The Integer specifying Version with which the Notification or Trap is to be forwarded
v3ManagerCommunity - The String specifying the Community with which the Notification or Trap is to be forwarded.
v3ManagerUserName - The String specifying the V3 Manager's registered User Name
v3ManagerUserSecModel - The Long specifying the V3 Manager's User Security Model
v3ManagerUserContextName - The String specifying the V3 Manager's User Context Name
v3SecurityLevel - The V3 manager's security level value.
v3ManagerTimeOut - The Long specifying the TimeOut value for the TrapPDU.
v3ManagerRetries - The Long specifying the Retries value for the TrapPDU.
Returns:
V3ForwardingEntry

createV3ForwardingEntry

public static V3ForwardingEntry createV3ForwardingEntry(java.lang.String v3ManagerHost,
                                                        java.lang.Integer v3ManagerPort,
                                                        java.lang.Integer v3ManagerVersion,
                                                        java.lang.String v3ManagerCommunity,
                                                        java.lang.String v3ManagerUserName,
                                                        java.lang.Long v3ManagerUserSecModel,
                                                        java.lang.Integer v3SecurityLevel,
                                                        java.lang.String v3ManagerUserContextName,
                                                        java.lang.Long v3ManagerTimeOut,
                                                        java.lang.Long v3ManagerRetries,
                                                        java.lang.Integer v3ManagerStatus)
Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
Parameters:
v3ManagerHost - The String specifying the HostName or the IpAddress of the Manager to which the Notification or Trap is to be forwarded
v3ManagerPort - The Integer specifying Manager's Port to which the Notification or Trap is to be forwarded
v3ManagerVersion - The Integer specifying Version with which the Notification or Trap is to be forwarded
v3ManagerCommunity - The String specifying the Community with which the Notification or Trap is to be forwarded.
v3ManagerUserName - The String specifying the V3 Manager's registered User Name
v3ManagerUserSecModel - The Long specifying the V3 Manager's User Security Model
v3ManagerUserContextName - The String specifying the V3 Manager's User Context Name
v3SecurityLevel - The V3 manager's security level value.
v3ManagerTimeOut - The Long specifying the TimeOut value for the TrapPDU.
v3ManagerRetries - The Long specifying the Retries value for the TrapPDU.
v3ManagerStatus - The Integer specifying the status value for this Entry (1 -5).
Returns:
V3ForwardingEntry

createV3ForwardingEntry

public static V3ForwardingEntry createV3ForwardingEntry(java.lang.Integer v3ManagerHostType,
                                                        java.lang.String v3ManagerHost,
                                                        java.lang.Integer v3ManagerPort,
                                                        java.lang.Integer v3ManagerVersion,
                                                        java.lang.String v3ManagerCommunity,
                                                        java.lang.String v3ManagerUserName,
                                                        java.lang.Long v3ManagerUserSecModel,
                                                        java.lang.Integer v3SecurityLevel,
                                                        java.lang.String v3ManagerUserContextName,
                                                        java.lang.Long v3ManagerTimeOut,
                                                        java.lang.Long v3ManagerRetries,
                                                        java.lang.Integer v3ManagerStatus)
Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
Parameters:
v3ManagerHostType - the type of the IPAddress of the Manager with which the Entry is to be created
v3ManagerHost - The String specifying the HostName or the IpAddress of the Manager to which the Notification or Trap is to be forwarded
v3ManagerPort - The Integer specifying Manager's Port to which the Notification or Trap is to be forwarded
v3ManagerVersion - The Integer specifying Version with which the Notification or Trap is to be forwarded
v3ManagerCommunity - The String specifying the Community with which the Notification or Trap is to be forwarded.
v3ManagerUserName - The String specifying the V3 Manager's registered User Name
v3ManagerUserSecModel - The Long specifying the V3 Manager's User Security Model
v3ManagerUserContextName - The String specifying the V3 Manager's User Context Name
v3SecurityLevel - The V3 manager's security level value.
v3ManagerTimeOut - The Long specifying the TimeOut value for the TrapPDU.
v3ManagerRetries - The Long specifying the Retries value for the TrapPDU.
v3ManagerStatus - The Integer specifying the status value for this Entry (1 -5).
Returns:
V3ForwardingEntry

createV3ForwardingEntry

public static V3ForwardingEntry createV3ForwardingEntry(int v3Id,
                                                        java.lang.String v3ManagerHost,
                                                        int v3ManagerPort,
                                                        java.lang.String v3ManagerUserName,
                                                        int v3ManagerUserSecModel,
                                                        java.lang.String v3ManagerUserContextName,
                                                        java.lang.Integer v3SecurityLevel)
Creates a V3ForwardingEntry object for the V3SimpleTrapForwardingTable
Parameters:
v3Id - The int specifying the index - Index has been modified.
v3ManagerHost - The String specifying the HostName or the IpAddress of the Manager to which the Notification or Trap is to be forwarded
v3ManagerPort - The int specifying Manager's Port to which the Notification or Trap is to be forwarded
v3ManagerUserName - The String specifying the V3 Manager's registered User Name
v3ManagerUserSecModel - The int specifying the V3 Manager's User Security Model
v3ManagerUserContextName - The String specifying the V3 Manager's User Context Name
v3SecurityLevel - The V3 manager's security level value.
Returns:
V3ForwardingEntry
Since:
AdventNet Agent Toolkit (Java/JMX Edition) 5.0

getManagerHost

public java.lang.String getManagerHost(int index)
Description copied from interface: V3TrapForwardingTableInterface
Gets the manager host name to which we need to send the Traps
Specified by:
getManagerHost in interface V3TrapForwardingTableInterface
Tags copied from interface: V3TrapForwardingTableInterface
Parameters:
index - of the table
Returns:
the Manager to which trap is to be sent return null if there is no manager for the index

getManagerPort

public int getManagerPort(int index)
Description copied from interface: V3TrapForwardingTableInterface
Gets the manager port to which we need to send the Traps
Specified by:
getManagerPort in interface V3TrapForwardingTableInterface
Tags copied from interface: V3TrapForwardingTableInterface
Parameters:
row - index if a -1 is returned port is assumed to be 162

getRowStatus

public int getRowStatus(int index)
Description copied from interface: V3TrapForwardingTableInterface
Gets the row status of the table.
Specified by:
getRowStatus in interface V3TrapForwardingTableInterface
Tags copied from interface: V3TrapForwardingTableInterface
Returns:
rowSatus of the value of the Row.
return 1 if active (even though rowstatus may not be present)