[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
Mon Mar 21 17:11:00 CDT 2011


branch "workqueue" has been updated
       via  ca02bc78ac8a577b4b6b7267701b0c2f6b9c5d9a (commit)
      from  8e36ca4e38d9c05a52112233005739820d1d48c8 (commit)

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


- Log -----------------------------------------------------------------
commit ca02bc78ac8a577b4b6b7267701b0c2f6b9c5d9a
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Mar 21 17:10:37 2011 -0500

    Add SuspendableWorkExists exception.

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index 7dcf6cb..13ffc1c 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -85,11 +85,16 @@ module V1
 
     local sequence<SuspendableWork> SuspendableWorkSeq;
 
+    local exception SuspendableWorkExists
+    {
+        SuspendableWorkSeq items;
+    };
+
     local interface SuspendableQueue
     {
-        void enqueueWork(SuspendableWork item);
-       	void enqueueWorkSeq(SuspendableWorkSeq items);
-       	void cancelWork(SuspendableWork item);
+        void enqueueWork(SuspendableWork item) throws SuspendableWorkExists;
+       	void enqueueWorkSeq(SuspendableWorkSeq items) throws SuspendableWorkExists;
+       	void cancelWork(SuspendableWork item) throws WorkNotFound;
        
        	/* return value indicates whether queue contains more work
        	   that can be executed immediately

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list