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