|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnmpSubRequest
The SnmpSubRequest class holds data for a SNMP
sub-request.
| Method Summary | |
|---|---|
SnmpRequest |
getSnmpRequest()
|
RequestStatus |
getStatus()
Gets the status object associated with this sub-request. |
org.snmp4j.smi.VariableBinding |
getVariableBinding()
Returns the variable binding associated with the sub-request. |
void |
setErrorStatus(int errorStatus)
Sets the error status for this sub-request. |
void |
setStatus(RequestStatus status)
|
| Methods inherited from interface org.snmp4j.agent.request.SubRequest |
|---|
completed, getErrorStatus, getIndex, getQuery, getRequest, getScope, getTargetMO, getUndoValue, getUserObject, hasError, isComplete, repetitions, setQuery, setTargetMO, setUndoValue, setUserObject, updateNextRepetition |
| Method Detail |
|---|
void setStatus(RequestStatus status)
RequestStatus getStatus()
SubRequest
getStatus in interface SubRequestorg.snmp4j.smi.VariableBinding getVariableBinding()
SubRequest
getVariableBinding in interface SubRequestVariableBinding that holds the sub-request result
or operation parameter (in case of a SET request).SnmpRequest getSnmpRequest()
void setErrorStatus(int errorStatus)
SubRequestSubRequest.getStatus().setErrorStatus(int errorStatus)
.
setErrorStatus in interface SubRequesterrorStatus - a SNMPv2/v3 error status.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||