Author: remi
Date: 2008-09-17 15:03:17 +0200 (Wed, 17 Sep 2008)
New Revision: 1873

Modified:
   
software_suite_v2/tuxware/java-api/trunk/src/com/tuxisalive/api/TuxAPIEvent.java
Log:
* don't start the event loop if the client level is ANONYME (The server don't 
send the status if the client is ANONYME)

Modified: 
software_suite_v2/tuxware/java-api/trunk/src/com/tuxisalive/api/TuxAPIEvent.java
===================================================================
--- 
software_suite_v2/tuxware/java-api/trunk/src/com/tuxisalive/api/TuxAPIEvent.java
    2008-09-17 13:01:09 UTC (rev 1872)
+++ 
software_suite_v2/tuxware/java-api/trunk/src/com/tuxisalive/api/TuxAPIEvent.java
    2008-09-17 13:03:17 UTC (rev 1873)
@@ -96,6 +96,10 @@
         */
        public void start()
        {
+               if (pParent.server.getClientLevel() == 
TuxAPIConst.CLIENT_LEVEL_ANONYME)
+               {
+                       return;
+               }
                if (getEventLoopRun())
                {
                        return;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to