Author: jerome
Date: 2009-12-18 13:39:56 +0100 (Fri, 18 Dec 2009)
New Revision: 5998
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/IPN/IPNServer.py
Log:
* Added 'hasClient' function to IPN server.
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/IPN/IPNServer.py
===================================================================
---
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/IPN/IPNServer.py
2009-12-17 13:49:48 UTC (rev 5997)
+++
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/IPN/IPNServer.py
2009-12-18 12:39:56 UTC (rev 5998)
@@ -119,6 +119,14 @@
break
self.__cliMutex.release()
return result
+
+ #
--------------------------------------------------------------------------
+ # Check if there have at least one connected client.
+ #
--------------------------------------------------------------------------
+ def hasClient(self):
+ '''Check if there have at least one connected client.
+ '''
+ return len(self.__cliLst) > 0
#
--------------------------------------------------------------------------
# Start the server.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn