|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.BaseTableEntry
|
+--com.adventnet.snmp.snmp2.agent.ForwardingEntry
Contains the data handling for ForwardingEntry
| Field Summary | |
(package private) static int |
COMMUNITY
|
(package private) static int |
index
|
(package private) static int |
MANAGERHOST
|
(package private) static int |
MANAGERHOSTTYPE
|
(package private) static int |
MANAGERPORT
|
(package private) static int |
RETRIES
|
(package private) static int |
ROWSTATUS
|
(package private) static int |
TIMEOUT
|
(package private) static int |
VERSION
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry |
agentName,
instanceOID |
| Constructor Summary | |
ForwardingEntry()
The Default Constructor for Forwarding Entry Class. |
|
| Method Summary | |
void |
computeAndSetInstanceOID()
|
int |
getIndex()
|
java.lang.Integer |
getManagerHostType()
Handles the SNMP Get Request for v1v2ManagerHostType |
java.lang.String |
getV1v2ManagerCommunity()
Handles the SNMP Get Request for V1V2 Manager Community |
java.lang.String |
getV1v2ManagerHost()
Handles the SNMP Get Request for managerHost |
java.lang.Integer |
getV1v2ManagerPort()
Handles the SNMP Get Request for managerPort |
java.lang.Long |
getV1v2ManagerRetries()
Handles the SNMP Get Request for managerRetries |
java.lang.Integer |
getV1v2ManagerStatus()
Handles the SNMP Get Request for rowStatus |
java.lang.Long |
getV1v2ManagerTimeOut()
Handles the SNMP Get Request for manager Timeout |
java.lang.Integer |
getV1v2ManagerVersion()
Handles the SNMP Get Request for manager Version |
void |
setAttributes(java.util.Hashtable values,
java.util.Vector indexList)
|
void |
setIndex(int index)
|
void |
setManagerHostType(java.lang.Integer value)
Handles the SNMP Set Request for v1v2ManagerHostType |
void |
setrowStatus(java.lang.Integer value)
Method to set the rowStatus value |
void |
setV1v2ManagerCommunity(java.lang.String com)
Handles the SNMP Set Request for manager community |
void |
setV1v2ManagerHost(java.lang.String host)
Handles the SNMP Set Request for managerHost |
void |
setV1v2ManagerPort(java.lang.Integer port)
Handles the SNMP Set Request for managerPort |
void |
setV1v2ManagerRetries(java.lang.Long ret)
Handles the SNMP Set Request for managerRetries |
void |
setV1v2ManagerStatus(java.lang.Integer status)
Handles the SNMP Set Request for rowStatus |
void |
setV1v2ManagerTimeOut(java.lang.Long tout)
Handles the SNMP Set Request for managerTimeout |
void |
setV1v2ManagerVersion(java.lang.Integer ver)
Handles the SNMP Set Request for manager Version |
| 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 |
|
| Field Detail |
static final int MANAGERHOSTTYPE
static final int MANAGERHOST
static final int MANAGERPORT
static final int VERSION
static final int COMMUNITY
static final int TIMEOUT
static final int RETRIES
static final int ROWSTATUS
static int index
| Constructor Detail |
public ForwardingEntry()
| Method Detail |
public int getIndex()
public void setIndex(int index)
public void setAttributes(java.util.Hashtable values,
java.util.Vector indexList)
throws AgentSnmpException
public java.lang.Integer getManagerHostType()
throws AgentSnmpException
public void setManagerHostType(java.lang.Integer value)
throws AgentSnmpException
value - - The Integer value to be set
public java.lang.String getV1v2ManagerHost()
throws AgentSnmpException
setV1v2ManagerHost(String host)
public void setV1v2ManagerHost(java.lang.String host)
throws AgentSnmpException
host - The String specifying the Manager HostName in IpAddress
format. e.g., "192.168.1.98", default is 127.0.0.1getV1v2ManagerHost()
public java.lang.String getV1v2ManagerCommunity()
throws AgentSnmpException
setV1v2ManagerCommunity(String com)
public void setV1v2ManagerCommunity(java.lang.String com)
throws AgentSnmpException
com - The String community to be set to the Trap PDUgetV1v2ManagerCommunity()
public java.lang.Integer getV1v2ManagerPort()
throws AgentSnmpException
setV1v2ManagerPort(Integer port)
public void setV1v2ManagerPort(java.lang.Integer port)
throws AgentSnmpException
port - The port specifying the Manager Target PortgetV1v2ManagerPort()
public java.lang.Integer getV1v2ManagerVersion()
throws AgentSnmpException
setV1v2ManagerVersion(Integer ver)
public void setV1v2ManagerVersion(java.lang.Integer ver)
throws AgentSnmpException
ver - The version int specifying e.g., 1 for Snmp Version 1
by default this will be 2 i.e., Snmp Version 2.getV1v2ManagerVersion()
public java.lang.Long getV1v2ManagerTimeOut()
throws AgentSnmpException
setV1v2ManagerTimeOut(Long tout)
public void setV1v2ManagerTimeOut(java.lang.Long tout)
throws AgentSnmpException
tout - The Long value specifying the timeout valuegetV1v2ManagerTimeOut()
public java.lang.Long getV1v2ManagerRetries()
throws AgentSnmpException
setV1v2ManagerRetries(Long ret)
public void setV1v2ManagerRetries(java.lang.Long ret)
throws AgentSnmpException
ret - the Long value to be set as the retries in the TrapPDU.getV1v2ManagerRetries()
public java.lang.Integer getV1v2ManagerStatus()
throws AgentSnmpException
setV1v2ManagerStatus(Integer status)
public void setV1v2ManagerStatus(java.lang.Integer status)
throws AgentSnmpException
statud - The Integer specifying the RowStatus value for this EntrygetV1v2ManagerStatus()public void setrowStatus(java.lang.Integer value)
value - the Integer specifying the rowStatus value.public void computeAndSetInstanceOID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||