rr.add("error", new JsonPrimitive(e.getMessage()));
userCallback.handle(rr);
return;
}
c.connect(new PingClientHandler() {
@Override
public void failed(IOException e) {
JsonObject r = new JsonObject();
r.add("error", new JsonPrimitive(e.getMessage()));
userCallback.handle(r);