|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.management.snmp.SnmpPdu com.sun.management.snmp.SnmpPduPacket com.sun.management.snmp.SnmpPduRequest
public class SnmpPduRequest
Is used to represent get
, get-next
, set
, response
and SNMPv2-trap
PDUs.
You will not usually need to use this class, except if you
decide to implement your own
SnmpPduFactory
object.
Field Summary | |
---|---|
int |
errorIndex
Error index. |
int |
errorStatus
Error status. |
Fields inherited from class com.sun.management.snmp.SnmpPduPacket |
---|
community |
Fields inherited from class com.sun.management.snmp.SnmpPdu |
---|
address, port, requestId, type, varBindList, version |
Constructor Summary | |
---|---|
SnmpPduRequest()
|
Method Summary | |
---|---|
int |
getErrorIndex()
Implements SnmpPduRequestType interface. |
int |
getErrorStatus()
Implements SnmpPduRequestType interface. |
SnmpPdu |
getResponsePdu()
Implements SnmpAckPdu interface. |
void |
setErrorIndex(int i)
Implements SnmpPduRequestType interface. |
void |
setErrorStatus(int i)
Implements SnmpPduRequestType interface. |
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 |
Field Detail |
---|
public int errorStatus
SnmpDefinitions
.
public int errorIndex
SnmpVarBind
is
varBindList[errorIndex-1]
.
Constructor Detail |
---|
public SnmpPduRequest()
Method Detail |
---|
public void setErrorIndex(int i)
SnmpPduRequestType
interface.
setErrorIndex
in interface SnmpPduRequestType
i
- Error index.public void setErrorStatus(int i)
SnmpPduRequestType
interface.
setErrorStatus
in interface SnmpPduRequestType
i
- Error status.public int getErrorIndex()
SnmpPduRequestType
interface.
getErrorIndex
in interface SnmpPduRequestType
public int getErrorStatus()
SnmpPduRequestType
interface.
getErrorStatus
in interface SnmpPduRequestType
public SnmpPdu getResponsePdu()
SnmpAckPdu
interface.
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 |