com.adventnet.snmp.snmp2.agent
Class V3ForwardingEntry

java.lang.Object
  extended by com.adventnet.snmp.snmp2.agent.BaseTableEntry
      extended by com.adventnet.snmp.snmp2.agent.V3ForwardingEntry
All Implemented Interfaces:
RowStatusHandlerInterface, TableEntry, java.io.Serializable

public class V3ForwardingEntry
extends BaseTableEntry
implements java.io.Serializable

Contains the data handling V3ForwardingEntry

See Also:
Serialized Form

Field Summary
(package private) static int index
           
(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) 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.BaseTableEntry
agentName
 
Constructor Summary
V3ForwardingEntry()
          Default Constructor - does nothing.
 
Method Summary
 void computeAndSetInstanceOID()
           
 int getIndex()
           
 java.lang.String getV3ManagerCommunity()
          Handles the SNMP Get Request for managerCommunity
 java.lang.String getV3ManagerHost()
          Handles the SNMP Get Request for managerHost
 java.lang.Integer getV3ManagerHostType()
          Handles the SNMP Get Request for v3ManagerHostType
 java.lang.Integer getV3ManagerPort()
          Handles the SNMP Get Request for V3 Manager's Port
 java.lang.Long getV3ManagerRetries()
          Handles the SNMP Get Request for Retries count
 java.lang.Long getV3ManagerTimeOut()
          Handles the SNMP Get Request for V3 Manager's Timeout
 java.lang.String getV3ManagerUserContextName()
          Getter for V3 Manager's User Context Name
 java.lang.String getV3ManagerUserName()
          Getter fot the V3 Manager's User Name
 java.lang.Long getV3ManagerUserSecModel()
          Getter for V3 Manager's User Security Model
 java.lang.Integer getV3ManagerVersion()
          Handles the SNMP Get Request for Manager's Version
 java.lang.Integer getV3RowStatus()
          Handles the SNMP Get Request for rowStatus
 java.lang.Integer getV3SecurityLevel()
          Getter of V3 Manager's Security Level.
 void setAttributes(java.util.Hashtable values, java.util.Vector indexList)
           
 void setIndex(int index)
           
 void setrowStatus(java.lang.Integer value)
          Method to set the rowStatus value
 void setV3ManagerCommunity(java.lang.String community)
          Handles the SNMP Set Request for manager community
 void setV3ManagerHost(java.lang.String host)
          Handles the SNMP Set Request for managerHost
 void setV3ManagerHostType(java.lang.Integer value)
          Handles the SNMP Set Request for v3ManagerHostType
 void setV3ManagerPort(java.lang.Integer port)
          Handles the SNMP Set Request for managerPort
 void setV3ManagerRetries(java.lang.Long retries)
          Handles the SNMP Set Request for Retries count for this entry
 void setV3ManagerTimeOut(java.lang.Long tout)
          Handles the SNMP Set Request for TimeOut
 void setV3ManagerUserContextName(java.lang.String cname)
          Setter for V3 Manager's User Context Name
 void setV3ManagerUserName(java.lang.String uname)
          Setter for V3 Manager's User Name
 void setV3ManagerUserSecModel(java.lang.Long smodel)
          Setter for V3ManagerUserSecModel
 void setV3ManagerVersion(java.lang.Integer version)
          Handles the SNMP Set Request for managerVersion
 void setV3RowStatus(java.lang.Integer status)
          Handles the SNMP Set Request for rowStatus
 void setV3SecurityLevel(java.lang.Integer slevel)
          Setter of V3 Manager's Security Level.
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry
computeInstanceOID, decrementCount, getAttributes, getCount, getInstanceOID, setAgentRef, setCount, setInstanceOID
 
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
See Also:
Constant Field Values

MANAGERHOST

static final int MANAGERHOST
See Also:
Constant Field Values

MANAGERPORT

static final int MANAGERPORT
See Also:
Constant Field Values

MANAGERVERSION

static final int MANAGERVERSION
See Also:
Constant Field Values

MANAGERCOMMUNITY

static final int MANAGERCOMMUNITY
See Also:
Constant Field Values

V3MANAGERUSERNAME

static final int V3MANAGERUSERNAME
See Also:
Constant Field Values

V3MANAGERUSERSECMODEL

static final int V3MANAGERUSERSECMODEL
See Also:
Constant Field Values

V3SECURITYLEVEL

static final int V3SECURITYLEVEL
See Also:
Constant Field Values

V3MANAGERUSERCONTEXTNAME

static final int V3MANAGERUSERCONTEXTNAME
See Also:
Constant Field Values

MANAGERTIMEOUT

static final int MANAGERTIMEOUT
See Also:
Constant Field Values

MANAGERRETRIES

static final int MANAGERRETRIES
See Also:
Constant Field Values

ROWSTATUS

static final int ROWSTATUS
See Also:
Constant Field Values

index

static int index
Constructor Detail

V3ForwardingEntry

public V3ForwardingEntry()
Default Constructor - does nothing.

Method Detail

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

setAttributes

public void setAttributes(java.util.Hashtable values,
                          java.util.Vector indexList)
                   throws AgentSnmpException
Throws:
AgentSnmpException

getV3ManagerHostType

public java.lang.Integer getV3ManagerHostType()
                                       throws AgentSnmpException
Handles the SNMP Get Request for v3ManagerHostType

Throws:
AgentSnmpException

setV3ManagerHostType

public void setV3ManagerHostType(java.lang.Integer value)
                          throws AgentSnmpException
Handles the SNMP Set Request for v3ManagerHostType

Parameters:
value - - The Integer value to be set
Throws:
AgentSnmpException

getV3ManagerHost

public java.lang.String getV3ManagerHost()
                                  throws AgentSnmpException
Handles the SNMP Get Request for managerHost

Returns:
The V3 Manager's Host IpAddress
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerHost(String host)

setV3ManagerHost

public void setV3ManagerHost(java.lang.String host)
                      throws AgentSnmpException
Handles the SNMP Set Request for managerHost

Parameters:
String - The String specifying the V3 Manager's Host IpAddress
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerHost()

getV3ManagerPort

public java.lang.Integer getV3ManagerPort()
                                   throws AgentSnmpException
Handles the SNMP Get Request for V3 Manager's Port

Returns:
The V3 Manager's Port
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerPort(Integer port)

setV3ManagerPort

public void setV3ManagerPort(java.lang.Integer port)
                      throws AgentSnmpException
Handles the SNMP Set Request for managerPort

Parameters:
port - The Integer specifying the V3 Manager's Port where to forward the Traps
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerPort()

getV3ManagerVersion

public java.lang.Integer getV3ManagerVersion()
                                      throws AgentSnmpException
Handles the SNMP Get Request for Manager's Version

Returns:
The V3 Manager's Port
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerVersion(Integer version)

setV3ManagerVersion

public void setV3ManagerVersion(java.lang.Integer version)
                         throws AgentSnmpException
Handles the SNMP Set Request for managerVersion

Parameters:
version - The Integer specifying the V3 Manager's Version with which the Trap PDU is to be sent
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerVersion()

getV3ManagerCommunity

public java.lang.String getV3ManagerCommunity()
                                       throws AgentSnmpException
Handles the SNMP Get Request for managerCommunity

Returns:
The Trap PDU's community String
Throws:
AgentSnmpException - on error
See Also:
setV3ManagetCommunity(String community)

setV3ManagerCommunity

public void setV3ManagerCommunity(java.lang.String community)
                           throws AgentSnmpException
Handles the SNMP Set Request for manager community

Parameters:
community - The String specifying the community to be set for the Trap.
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerHost()

getV3ManagerUserName

public java.lang.String getV3ManagerUserName()
                                      throws AgentSnmpException
Getter fot the V3 Manager's User Name

Returns:
The V3 Manager's User Name
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerUserName(String uname)

setV3ManagerUserName

public void setV3ManagerUserName(java.lang.String uname)
                          throws AgentSnmpException
Setter for V3 Manager's User Name

Parameters:
uname - The String specifying the V3 Manager's User Name
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerUserName()

getV3ManagerUserSecModel

public java.lang.Long getV3ManagerUserSecModel()
                                        throws AgentSnmpException
Getter for V3 Manager's User Security Model

Returns:
The Long specifying the V3 Manager's User Security Model
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerUserSecModel(Integer smodel)

setV3ManagerUserSecModel

public void setV3ManagerUserSecModel(java.lang.Long smodel)
                              throws AgentSnmpException
Setter for V3ManagerUserSecModel

Parameters:
smodle - The Long specifying the V3 Manager's User Security Model
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerUserSecModel()

getV3ManagerUserContextName

public java.lang.String getV3ManagerUserContextName()
                                             throws AgentSnmpException
Getter for V3 Manager's User Context Name

Returns:
The V3 Manager's Context Name
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerUserContextName(String cname)

setV3ManagerUserContextName

public void setV3ManagerUserContextName(java.lang.String cname)
                                 throws AgentSnmpException
Setter for V3 Manager's User Context Name

Parameters:
cname - The String specifying the V3 Manger's User Context Name
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerUserContextName()

getV3ManagerTimeOut

public java.lang.Long getV3ManagerTimeOut()
                                   throws AgentSnmpException
Handles the SNMP Get Request for V3 Manager's Timeout

Returns:
The TimeOut value for the Trap PDU of this entry
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerTimeOut(Long tout)

setV3ManagerTimeOut

public void setV3ManagerTimeOut(java.lang.Long tout)
                         throws AgentSnmpException
Handles the SNMP Set Request for TimeOut

Parameters:
tout - The Long specifying the timeout value.
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerTimeOut()

getV3ManagerRetries

public java.lang.Long getV3ManagerRetries()
                                   throws AgentSnmpException
Handles the SNMP Get Request for Retries count

Returns:
The Trap PDU's retries count
Throws:
AgentSnmpException - on error
See Also:
setV3ManagerRetries(Long retires)

setV3ManagerRetries

public void setV3ManagerRetries(java.lang.Long retries)
                         throws AgentSnmpException
Handles the SNMP Set Request for Retries count for this entry

Parameters:
retries - The Long specifying the retires made for the Trap.
Throws:
AgentSnmpException - on error
See Also:
getV3ManagerRetries()

getV3RowStatus

public java.lang.Integer getV3RowStatus()
                                 throws AgentSnmpException
Handles the SNMP Get Request for rowStatus

Returns:
The rowStatus implementation of this Entry
Throws:
AgentSnmpException - on error
See Also:
setV3RowStatus(Integer status)

setV3RowStatus

public void setV3RowStatus(java.lang.Integer status)
                    throws AgentSnmpException
Handles the SNMP Set Request for rowStatus

Parameters:
status - The Integer of the RowStatus implementation
Throws:
AgentSnmpException - on error
See Also:
getV3RowStatus()

setV3SecurityLevel

public void setV3SecurityLevel(java.lang.Integer slevel)
                        throws AgentSnmpException
Setter of V3 Manager's Security Level.

Parameters:
slevel - the SecurityLevel Integer to be set.
Throws:
AgentSnmpException - on error
See Also:
getV3SecurityLevel()

getV3SecurityLevel

public java.lang.Integer getV3SecurityLevel()
                                     throws AgentSnmpException
Getter of V3 Manager's Security Level.

Returns:
the V3SecurityLevel Integer
Throws:
AgentSnmpException - on error
See Also:
setV3SecurityLevel(Integer slevel)

setrowStatus

public void setrowStatus(java.lang.Integer value)
Description copied from interface: RowStatusHandlerInterface
Method to set the rowStatus value

Specified by:
setrowStatus in interface RowStatusHandlerInterface
Parameters:
value - the Integer specifying the rowStatus value.

computeAndSetInstanceOID

public void computeAndSetInstanceOID()