summaryrefslogtreecommitdiff
path: root/examples/ping.py
AgeCommit message (Collapse)Author
2020-05-02Add forever=False to some examples to make them terminatemathieui
2020-05-02Change session_start callback to async in most examplesmathieui
If we fetch the roster, we should probably wait until we get it back
2018-10-09examples: Remove unused asyncio imports.Emmanuel Gil Peyrot
2018-08-19examples, tests: Replace all @asyncio.coroutines with proper async functions.Emmanuel Gil Peyrot
2015-02-24Update the documentation and examplesmathieui
- update most of the examples with slixmpp - change the help channels pointed out in the doc - add a page listing differences from slixmpp and how to use asyncio nicely with slixmpp - fix some in-code rst documentation
2014-09-01Move examples from the deprecated optparse to argparse, and remove the ↵Emmanuel Gil Peyrot
redundant -v option.
2014-09-01Import getpass from getpass, instead of using getpass.getpass everytime.Emmanuel Gil Peyrot
2014-09-01Remove (usually) useless comments in examples about OpenFire and how to ↵Emmanuel Gil Peyrot
verify a certificate.
2014-09-01Reintroduce XMLStream.process, making it run the asyncio event loop.Emmanuel Gil Peyrot
2014-09-01Remove threaded from examples’ add_event_handler.Emmanuel Gil Peyrot
2014-09-01Remove raw_input usage and other python2 support in examplesEmmanuel Gil Peyrot
2014-09-01Set the shebang to python3 everywhere.Emmanuel Gil Peyrot
2014-07-17Rename to slixmppFlorent Le Coz
2014-01-21Examples fixesAnton Ryzhov
2013-01-20Updated XEP-0199 to take and return standardized values.Lance Stout
Handles Iq errors appropriately when the recipient can't be found.
2012-10-24added setdefaultencoding method so reload(sys) not neededPaul Molodowitch
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-05-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-01-02Merge pull request #132 from rhcarvalho/masterLance Stout
Fix a typo in several files.
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Merge pull request #131 from rhcarvalho/masterLance Stout
Small changes to the examples
2011-12-31Remove unused imports in the examples.Rodolfo Carvalho
2011-12-30Merge pull request #130 from rhcarvalho/masterLance Stout
Some small fixes
2011-12-30Update examples to use the block'' argument instead of the deprecated ↵Rodolfo Carvalho
threaded''.
2011-12-30Replace pydns with dnspython in the comments of the examples.Rodolfo Carvalho
2011-11-19Tidy up logging calls.Lance Stout
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-08-18Update examples to work with Python3 (raw_input vs input)Lance Stout
2011-03-23Tidy up the examples.Lance Stout
2011-02-11Updated XEP-0199 plugin.Lance Stout
Now has docs and uses the new plugin format.
2011-02-10added option to return false on ping error, added ping exampleNathan Fritz