|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.BaseTableEntry
com.adventnet.snmp.snmp2.agent.ForwardingEntry
public class 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 |
| Constructor Summary | |
|---|---|
ForwardingEntry()
The Default Constructor for Forwarding Entry Class. |
|
ForwardingEntry(java.lang.String managerHost,
java.lang.Integer managerPort,
java.lang.Integer version,
java.lang.String community,
java.lang.Long timeOut,
java.lang.Long retries,
java.lang.Integer rowStatus)
|
|
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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()
public ForwardingEntry(java.lang.String managerHost,
java.lang.Integer managerPort,
java.lang.Integer version,
java.lang.String community,
java.lang.Long timeOut,
java.lang.Long retries,
java.lang.Integer rowStatus)
managerHost - the managerHost to which trap to be sentmanagerPort - the manager post to which trap to be sentversion - the Snmp version of the trap to be sentcommunity - the community String to be used in the traptimeout - used in case of informsretries - used in case of informsrowStatus - rowStatus for this row having details about manager| Method Detail |
|---|
public int getIndex()
public void setIndex(int index)
public void setAttributes(java.util.Hashtable values,
java.util.Vector indexList)
throws AgentSnmpException
AgentSnmpException
public java.lang.Integer getManagerHostType()
throws AgentSnmpException
AgentSnmpException
public void setManagerHostType(java.lang.Integer value)
throws AgentSnmpException
value - - The Integer value to be set
AgentSnmpException
public java.lang.String getV1v2ManagerHost()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.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.1
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerHost()
public java.lang.String getV1v2ManagerCommunity()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.setV1v2ManagerCommunity(String com)
public void setV1v2ManagerCommunity(java.lang.String com)
throws AgentSnmpException
com - The String community to be set to the Trap PDU
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerCommunity()
public java.lang.Integer getV1v2ManagerPort()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.setV1v2ManagerPort(Integer port)
public void setV1v2ManagerPort(java.lang.Integer port)
throws AgentSnmpException
port - The port specifying the Manager Target Port
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerPort()
public java.lang.Integer getV1v2ManagerVersion()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.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.
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerVersion()
public java.lang.Long getV1v2ManagerTimeOut()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.setV1v2ManagerTimeOut(Long tout)
public void setV1v2ManagerTimeOut(java.lang.Long tout)
throws AgentSnmpException
tout - The Long value specifying the timeout value
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerTimeOut()
public java.lang.Long getV1v2ManagerRetries()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.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.
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerRetries()
public java.lang.Integer getV1v2ManagerStatus()
throws AgentSnmpException
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.setV1v2ManagerStatus(Integer status)
public void setV1v2ManagerStatus(java.lang.Integer status)
throws AgentSnmpException
statud - The Integer specifying the RowStatus value for this Entry
AgentSnmpException - This Wraps all the Exceptions thrown
while processing this event.getV1v2ManagerStatus()public void setrowStatus(java.lang.Integer value)
RowStatusHandlerInterface
setrowStatus in interface RowStatusHandlerInterfacevalue - the Integer specifying the rowStatus value.public void computeAndSetInstanceOID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||