public class ClientEventHandler extends Object
| Constructor and Description |
|---|
ClientEventHandler(String clientName,
ClientEventCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
cachePollingError(Throwable throwable) |
void |
cachePollingSuccess(boolean withNotification,
Duration duration) |
void |
cacheStart() |
void |
cacheStop() |
void |
httpRequestFailure(okhttp3.Request request,
Throwable throwable) |
void |
httpRequestInvalid(okhttp3.Request request,
Throwable throwable) |
void |
httpRequestSuccess(okhttp3.Request request) |
public ClientEventHandler(String clientName, ClientEventCallback callback)
public void httpRequestSuccess(okhttp3.Request request)
public void httpRequestInvalid(okhttp3.Request request,
Throwable throwable)
public void httpRequestFailure(okhttp3.Request request,
Throwable throwable)
public void cacheStart()
public void cacheStop()
public void cachePollingError(Throwable throwable)
public void cachePollingSuccess(boolean withNotification,
Duration duration)
Copyright © 2018. All rights reserved.