xmpp - ProcessMessage function is not workin in smackapi -


i trying use smack api provide chat functionality between 2 different projects. both side able send message. due problem not able receive message on both side. think process-message function not working properly. how make work properly.

my xmppconnection.debug_enabled = true; working properly, can see message sent , received via google talk. can process received message..thank in advance...

public void processmessage(chat chat, message message) {             if (message.gettype() == message.type.chat){             system.out.println(chat.getparticipant() + " says:" + message.getbody());             string cmdmsg = message.getbody();             system.out.println(cmdmsg);         } 


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -