}
}, new ThreadActorDispatcher());
//测试同步模式登录
QQActionFuture future = client.login(QQStatus.ONLINE, null);
QQActionEvent event = future.waitFinalEvent();
if(event.getType() == Type.EVT_OK){
System.out.println("登录成功!!!!");
event = client.getUserInfo(client.getAccount(), null).waitFinalEvent();