Closed nickmarx12345678 closed 8 years ago
Hi -- I'm getting setup with a callback connection and I was wondering, functionally, what is the difference between:
conn = client.callbackConnection(); conn = conn.listener(new Listener() { @Override public void onConnected() { } ... };
and
conn = client.callbackConnection(); conn.connect(new Callback<Void>() { @Override public void onSuccess(Void value) { } ... }
Thanks
Did you ever find out the answer? I'm also confused by this API
Hi -- I'm getting setup with a callback connection and I was wondering, functionally, what is the difference between:
and
Thanks