Exemplo n.º 1
0
 @Override
 protected void onResponseHeadersReceived(long duration, TimeUnit timeUnit) {
   listener.onEvent(InstanceEvent.EXECUTION_SUCCESS, duration, timeUnit, null, null);
 }
Exemplo n.º 2
0
 @Override
 protected void onConnectFailed(long duration, TimeUnit timeUnit, Throwable throwable) {
   listener.onEvent(InstanceEvent.EXECUTION_FAILED, duration, timeUnit, throwable, null);
 }