use of info.xiancloud.core.NotifyHandler in project xian by happyyangyuan.
the class Demo method main.
public static void main(String[] args) {
Map<String, Object> map = new HashMap<String, Object>();
map.put("userName", "xianUser");
map.put("password", "xianPwd");
Xian.call("test", "UnitResponseTestUnit", map, new NotifyHandler() {
@Override
protected void handle(UnitResponse unitResponse) {
System.out.println(unitResponse.toVoJSONString());
}
});
}
Aggregations