Author: remi
Date: 2009-06-02 16:34:29 +0200 (Tue, 02 Jun 2009)
New Revision: 4723
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/SimplePlugin/SimplePlugin.py
Log:
* added throwActuation method to the SimplePlugin class
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/SimplePlugin/SimplePlugin.py
===================================================================
---
software_suite_v3/smart-core/smart-server/trunk/util/SimplePlugin/SimplePlugin.py
2009-06-02 14:33:18 UTC (rev 4722)
+++
software_suite_v3/smart-core/smart-server/trunk/util/SimplePlugin/SimplePlugin.py
2009-06-02 14:34:29 UTC (rev 4723)
@@ -361,6 +361,19 @@
self.throwNotification("check_result", resultValue)
#
--------------------------------------------------------------------------
+ # Throw an actuation to the framework.
+ #
--------------------------------------------------------------------------
+ def throwActuation(self, content, *args):
+ """Throw an actuation to the framework.
+ @param content: Content of the message.
+ @param args: Arguments for the message.
+ """
+ tmp = [content,]
+ for arg in args:
+ tmp.append(arg)
+ self.throwNotification("actuation", *tmp)
+
+ #
--------------------------------------------------------------------------
# Throw an error message to the plugins server.
#
--------------------------------------------------------------------------
def throwError(self, message, force = False):
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn