|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.snmp.manager.SnmpParams
com.sun.management.snmp.manager
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
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()
Deprecated. Checks whether parameters are in place for an SNMP set operation. |
int |
getProtocolVersion()
Deprecated. Returns the version of the protocol to use. |
void |
setProtocolVersion(int protocolVersion)
Deprecated. 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.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |