com.adventnet.snmp.snmp2.agent
Interface SnmpAgentData
- All Known Implementing Classes:
- TrapForwardingTable
Deprecated. As of AdventNet Agent Toolkit 3.0
This interface may not be supported in future releases of Agent Toolkit.
The SnmpAgentData class is used by the implementor of Agent.
Classes which implement this interface can be used in
CLASS-COMMAND's CLASS-NAME field.
To use getNextReqMesg you have to implement GetNextSupported.
- public interface SnmpAgentData
- Since:
- AdventNet Agent Toolkit (Java Edition) 4.2 release.
- See Also:
GetNextSupported
|
Method Summary |
java.lang.String |
getReqMesg(int[] OID)
Deprecated. The current OID is passed as the argument to the methods. |
java.lang.String |
setReqMesg(int[] OID,
java.util.Vector snmpvars)
Deprecated. Care should be taken in handling snmpvars argument. |
getReqMesg
public java.lang.String getReqMesg(int[] OID)
throws AgentSnmpException
- Deprecated.
- The current OID is passed as the argument to the methods.
- Parameters:
OID - requested OId- Returns:
- response in string-form
- Throws:
- AgentSnmpException - if any problem is encountered
setReqMesg
public java.lang.String setReqMesg(int[] OID,
java.util.Vector snmpvars)
throws AgentSnmpException
- Deprecated.
- Care should be taken in handling snmpvars argument.
SnmpIpAddress type snmpvars when converted to string
look something like this x.x.x.x/x.x.x.x.
- Parameters:
OID - requested OIdsnmpvars - Vector of values to be set- Returns:
- response in string-form
- Throws:
- AgentSnmpException - if any problem is encountered