public interface SnmpRequestListener
Modifier and Type | Method and Description |
---|---|
void |
onError(SnmpRequest request)
Called for a failed request.
|
void |
onSuccess(SnmpRequest request)
Called for a successfully completed request.
|
void onSuccess(SnmpRequest request)
SnmpRequest.getResponse()
to access the response.request
- original SNMP requestvoid onError(SnmpRequest request)
SnmpRequest.getError()
will be set. If there was a problem with the response
SnmpResponse.getError()
will be set.request
- original SNMP requestCopyright © 2015. All Rights Reserved.