proxy = this.client.getChatDialogProxyFactory().create(buddy);
} catch (DialogException e) {
println("建立对话失败!!");
return;
}
proxy.sendChatMessage( Message.wrap(message), new ActionEventListener(){
public void fireEevent(ActionEvent event)
{
if(event.getEventType()==ActionEventType.SUCCESS){
SendChatMessageSuccessEvent evt = (SendChatMessageSuccessEvent) event;
if(evt.isSendToMobile()){