Author: remi
Date: 2009-03-12 22:18:20 +0100 (Thu, 12 Mar 2009)
New Revision: 4033

Modified:
   
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/base/ApiBaseServer.py
Log:
* added the address of the server in the connection/disconnection messages

Modified: 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/base/ApiBaseServer.py
===================================================================
--- 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/base/ApiBaseServer.py
      2009-03-12 21:06:05 UTC (rev 4032)
+++ 
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/base/ApiBaseServer.py
      2009-03-12 21:18:20 UTC (rev 4033)
@@ -349,7 +349,7 @@
                 if eventHandler != None:
                     eventHandler.emit(struct['data%d' % index]['value'], 0.0)
         self.updateSyndicatedEvents()
-        print "API is connected."
+        print "API is connected to [%s:%s]" % (self.__host, self.__port)
 
     # 
--------------------------------------------------------------------------
     # Event on client disconnected.
@@ -359,7 +359,7 @@
         self.__cmdUrl = "%s/" % self.__clientId
         
self.getEventsHandler().getEventHandler(ST_NAME_API_CONNECT).emit("False",
             0.0)
-        print "API is disconnected."
+        print "API is disconnected from [%s:%s]" % (self.__host, self.__port)
 
     # 
--------------------------------------------------------------------------
     # Event on client message.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to