Params.REVISION, revision + ""),
new Rpc.RpcCallback() {
@Override
public void onSuccess(String data) throws MessageException {
JsoView json = RpcUtil.evalPrefixed(data);
if (json.containsKey("error")) {
onConnectionError(new Exception(json.getString("error")));
} else {
callback.onConnect(json.getString("token"));
JsoView history = json.getJsoView("history");
if (history.getNumber("length") > 0) {