[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 Apr 18 17:11:20 CDT 2011


branch "workqueue" has been updated
       via  20084e7794523ce2a8d631b3246868a00676e92d (commit)
      from  86ae6dcd9240f59c511281c63a4ee10f4d897473 (commit)

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


- Log -----------------------------------------------------------------
commit 20084e7794523ce2a8d631b3246868a00676e92d
Author: Mark Michelson <mmichelson at digium.com>
Date:   Fri Apr 8 16:55:02 2011 -0500

    Add a new parameter to QueueListener for number of items added to the queue.

diff --git a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
index 21df756..f09ad14 100644
--- a/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
+++ b/AsteriskSCF/System/WorkQueue/WorkQueueIf.ice
@@ -39,10 +39,11 @@ module V1
         /**
          * Indicates work has been added to the Queue or SuspendableQueue
          *
+         * @param numNewWork The number of items of Work added to the queue
          * @param wasEmpty True if the queue was empty prior
          * to the addition of the work. False otherwise.
          */
-        void workAdded(bool wasEmpty);
+        void workAdded(int numNewWork, bool wasEmpty);
 
         /**
          * Indicates that suspended work may be resumed

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list