|
||||||||||
| 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.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 SnmpPduRequestTypei - Error index.public void setErrorStatus(int i)
SnmpPduRequestType interface.
setErrorStatus in interface SnmpPduRequestTypei - Error status.public int getErrorIndex()
SnmpPduRequestType interface.
getErrorIndex in interface SnmpPduRequestTypepublic int getErrorStatus()
SnmpPduRequestType interface.
getErrorStatus in interface SnmpPduRequestTypepublic 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 | |||||||||