How to get an incoming message and display them on the console, for example?
For the xmpppy library, register the message handler:
def msgHandler(cl, msg): print msg.getBody() Client.RegisterHandler("message", msgHandler) # Client - объект xmpp.Client
Source: https://ru.stackoverflow.com/questions/98986/More articles:Generate jsp page in java.Data output mysql + phpChange page style button without reloadingElectronic signatureCan ContentProvider be used with relative linksIndexing only one folderSyntax errorJavascript MVCI can not create an XMLHttpRequest request similar to the request on the siteThe choice of hosting for images [closed]All Articles