示例#1
0
 private void invokeConnectSuccessfulCallback() {
   AsyncResult<Boolean> cb = connectCallback;
   connectCallback = nopAsyncBooleanResult;
   cb.onSuccess(true);
 }
示例#2
0
 private void invokeReadSuccessfulCallback(String result) {
   AsyncResult<String> cb = readCallback;
   readCallback = nopAsyncStringResult;
   cb.onSuccess(result);
 }