public interface SenderListener
Sender.| Modifier and Type | Method and Description |
|---|---|
void |
onError(com.rollbar.api.payload.Payload payload,
java.lang.Exception error)
This method is called every time there is an error in the process of sending the payloads to
Rollbar or processing the Rollbar response.
|
void |
onResponse(com.rollbar.api.payload.Payload payload,
Response response)
This method is called every time the sender gets a response from Rollbar.
|
void onResponse(com.rollbar.api.payload.Payload payload,
Response response)
payload - the payload sent.response - the response.void onError(com.rollbar.api.payload.Payload payload,
java.lang.Exception error)
payload - the payload sent.error - the error.