Skip to content

Instantly share code, notes, and snippets.

@sjehutch
Created January 25, 2017 10:59
Show Gist options
  • Save sjehutch/b3f205933bfb7468fc41bdf25bf20581 to your computer and use it in GitHub Desktop.
Save sjehutch/b3f205933bfb7468fc41bdf25bf20581 to your computer and use it in GitHub Desktop.
client.call(proc, null, array, new ObjectNode(nc),
new Action1<Reply>() {
@Override
public void call(Reply arg0) {
list.add(arg0);
}
}, new Action1<Throwable>() {
@Override
public void call(Throwable arg0) {
completed.set(true);
errs.add(arg0);
}
}, new Action0() {
@Override
public void call() {
completed.set(true);
Log.i("Sent:", array);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment