summaryrefslogtreecommitdiff
path: root/examples/ping.py
AgeCommit message (Collapse)Author
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