public class ClientEventHandler extends Object
| Constructor and Description |
|---|
ClientEventHandler(String clientName,
ClientEventCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
cachePollingError(CacheDescriptor cacheDescriptor,
Throwable throwable) |
void |
cachePollingSuccess(CacheDescriptor cacheDescriptor,
boolean withNotification,
Duration duration) |
void |
cacheStart(CacheDescriptor cacheDescriptor) |
void |
cacheStop(CacheDescriptor cacheDescriptor) |
void |
httpRequestFailure(okhttp3.Request request,
Throwable throwable) |
void |
httpRequestInvalid(okhttp3.Request request,
Throwable throwable) |
void |
httpRequestSuccess(okhttp3.Request request) |
void |
stop() |
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(CacheDescriptor cacheDescriptor)
public void cacheStop(CacheDescriptor cacheDescriptor)
public void cachePollingError(CacheDescriptor cacheDescriptor, Throwable throwable)
public void cachePollingSuccess(CacheDescriptor cacheDescriptor, boolean withNotification, Duration duration)
public void stop()
Copyright © 2019. All rights reserved.