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