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