[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "workqueue" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Mar 8 10:39:18 CST 2011


branch "workqueue" has been updated
       via  97c62970be5412ecc69ba679e7cb57968fd64792 (commit)
      from  a790d38036eb58e1338e05377d85ba22424f1b5d (commit)

Summary of changes:
 AsteriskSCF/System/WorkQueue/WorkQueueIf.ice |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 97c62970be5412ecc69ba679e7cb57968fd64792
Author: Mark Michelson <mmichelson at digium.com>
Date:   Tue Mar 8 10:38:51 2011 -0600

    Add a SuspendableWorkListener to detect when work may be resumed.

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index 9998c1e..561427f 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -64,9 +64,14 @@ module V1
        	Suspended
     };
 
+    local interface SuspendableWorkListener
+    {
+        void workResumable();
+    };
+
     local interface SuspendableWork
     {
-        SuspendableWorkResult execute();
+        SuspendableWorkResult execute(SuspendableWorkListener listener);
     };
 
     local sequence<SuspendableWork> SuspendableWorkSeq;

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list