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, updateNextRepetition
void setStatus(RequestStatus status)
RequestStatus getStatus()
SubRequest
getStatus
in interface SubRequest
org.snmp4j.smi.VariableBinding getVariableBinding()
SubRequest
getVariableBinding
in interface SubRequest
VariableBinding
that holds the sub-request result
or operation parameter (in case of a SET request).SnmpRequest getSnmpRequest()
void setErrorStatus(int errorStatus)
SubRequest
SubRequest.getStatus()
.setErrorStatus(int errorStatus)
.setErrorStatus
in interface SubRequest
errorStatus
- a SNMPv2/v3 error status.Copyright © 2018 SNMP4J.org. All rights reserved.