|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.manager.SnmpParams
public abstract class SnmpParams
This class is the base class of all parameters that are used when making SNMP requests to an SnmpPeer
.
Field Summary |
---|
Method Summary | |
---|---|
abstract boolean |
allowSnmpSets()
Checks whether parameters are in place for an SNMP set operation. |
int |
getProtocolVersion()
Returns the version of the protocol to use. |
void |
setProtocolVersion(int protocolVersion)
Sets the version of the protocol to be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract boolean allowSnmpSets()
set
operation.
true
if parameters are in place, false
otherwise.public int getProtocolVersion()
snmpVersionOne
if the protocol is SNMPv1
snmpVersionTwo
if the protocol is SNMPv2
snmpVersionThree
if the protocol is SNMPv3
public void setProtocolVersion(int protocolVersion)
SnmpDefinitions
.
setProtocolVersion(SnmpDefinitions.snmpVersionTwo);
protocolVersion
- The version of the protocol to be used.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |