public interface SnmpSubRequest extends SubRequest
SnmpSubRequest class holds data for a SNMP
sub-request.| Modifier and Type | Method and Description |
|---|---|
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) |
completed, getErrorStatus, getIndex, getQuery, getRequest, getScope, getTargetMO, getUndoValue, getUserObject, hasError, isComplete, repetitions, setQuery, setTargetMO, setUndoValue, setUserObject, updateNextRepetitionvoid setStatus(RequestStatus status)
RequestStatus getStatus()
SubRequestgetStatus in interface SubRequestorg.snmp4j.smi.VariableBinding getVariableBinding()
SubRequestgetVariableBinding 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 © 2015 SNMP4J.org. All rights reserved.