|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.SnmpPdu
com.sun.management.snmp.SnmpScopedPduPacket
com.sun.management.snmp.SnmpScopedPduRequest
public class SnmpScopedPduRequest
Is used to represent get
, get-next
, set
, response
SNMP V3 scoped PDUs.
Field Summary |
---|
Fields inherited from class com.sun.management.snmp.SnmpScopedPduPacket |
---|
contextEngineId, contextName, msgFlags, msgId, msgMaxSize, msgSecurityModel, securityParameters |
Fields inherited from class com.sun.management.snmp.SnmpPdu |
---|
address, port, requestId, type, varBindList, version |
Constructor Summary | |
---|---|
SnmpScopedPduRequest()
|
Method Summary | |
---|---|
int |
getErrorIndex()
Error index getter. |
int |
getErrorStatus()
Error status getter. |
SnmpPdu |
getResponsePdu()
Generates the pdu to use for response. |
void |
setErrorIndex(int i)
Error index setter. |
void |
setErrorStatus(int s)
Error status setter. |
Methods inherited from class com.sun.management.snmp.SnmpPdu |
---|
pduTypeToString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnmpScopedPduRequest()
Method Detail |
---|
public void setErrorIndex(int i)
SnmpVarBind
is
varBindList[errorIndex-1]
.
setErrorIndex
in interface SnmpPduRequestType
i
- Error index.public void setErrorStatus(int s)
SnmpDefinitions
.
setErrorStatus
in interface SnmpPduRequestType
s
- Error status.public int getErrorIndex()
SnmpVarBind
is
varBindList[errorIndex-1]
.
getErrorIndex
in interface SnmpPduRequestType
public int getErrorStatus()
SnmpDefinitions
.
getErrorStatus
in interface SnmpPduRequestType
public SnmpPdu getResponsePdu()
getResponsePdu
in interface SnmpAckPdu
|
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 |