[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
Thu Mar 31 14:00:36 CDT 2011


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

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


- Log -----------------------------------------------------------------
commit b2f2ff479f36b49511c0ed021b488d7ca2996774
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Mar 31 14:00:06 2011 -0500

    Address review comments.
    
    I could have sworn I did this already...

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index 13ffc1c..a14e043 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -46,15 +46,10 @@ module V1
     {
     };
 
-    local exception WorkExists
-    {
-        WorkSeq items;
-    };
-
     local interface Queue
     {
-        void enqueueWork(Work item) throws WorkExists;
-       	void enqueueWorkSeq(WorkSeq items) throws WorkExists;
+        void enqueueWork(Work item);
+       	void enqueueWorkSeq(WorkSeq items);
        	void cancelWork(Work item) throws WorkNotFound;
 
         /* return value indicates whether queue contains more work
@@ -62,7 +57,7 @@ module V1
        	*/
        	bool executeWork();
        	/* this is a snapshot and should only be used as a hint */
-       	int workCount();
+       	int getSize();
 
         void setListener(QueueListener listener);
     };
@@ -85,15 +80,10 @@ module V1
 
     local sequence<SuspendableWork> SuspendableWorkSeq;
 
-    local exception SuspendableWorkExists
-    {
-        SuspendableWorkSeq items;
-    };
-
     local interface SuspendableQueue
     {
-        void enqueueWork(SuspendableWork item) throws SuspendableWorkExists;
-       	void enqueueWorkSeq(SuspendableWorkSeq items) throws SuspendableWorkExists;
+        void enqueueWork(SuspendableWork item);
+       	void enqueueWorkSeq(SuspendableWorkSeq items);
        	void cancelWork(SuspendableWork item) throws WorkNotFound;
        
        	/* return value indicates whether queue contains more work
@@ -101,7 +91,7 @@ module V1
        	*/
        	bool executeWork();
        	/* this is a snapshot and should only be used as a hint */
-       	int workCount();
+       	int getSize();
 
         void setListener(QueueListener listener);
     };

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list