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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Sep 9 16:41:40 CDT 2011


branch "presence" has been updated
       via  8f724a5dedc30ee15e33e2ed892dc4412c471f89 (commit)
      from  4e7e2727606dbbd3772bad7628fd3bfebf358e2a (commit)

Summary of changes:
 slice/AsteriskSCF/Presence/PresenceIf.ice |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 8f724a5dedc30ee15e33e2ed892dc4412c471f89
Author: Joshua Colp <jcolp at digium.com>
Date:   Fri Sep 9 18:47:01 2011 -0300

    Incorporate feedback from Ken and support single RPCs doing multiple updates/queries.

diff --git a/slice/AsteriskSCF/Presence/PresenceIf.ice b/slice/AsteriskSCF/Presence/PresenceIf.ice
index 5001da7..a51bf13 100644
--- a/slice/AsteriskSCF/Presence/PresenceIf.ice
+++ b/slice/AsteriskSCF/Presence/PresenceIf.ice
@@ -55,6 +55,11 @@ module V1
    };
 
    /**
+    * Dictionary of endpoints and their status
+    */
+   dictionary<string, Status> EndpointStatusDict;
+
+   /**
     * Interface for a presence consumer
     */
    interface Consumer
@@ -66,7 +71,7 @@ module V1
         *
         * @param newStatus Concrete class containing the status of the endpoint.
         */
-       void update(string endpoint, Status newStatus);
+       void update(EndpointStatusDict newStatus);
    };
 
    /**
@@ -79,11 +84,11 @@ module V1
         *
         * @param requestor Name of the endpoint requesting the status.
         *
-        * @param endpoint Name of the endpoint to get the status for.
+        * @param endpoints Name of the endpoints to get the status for.
         *
-        * @return Status A concrete class containing the current status of the endpoint.
+        * @return EndpointStatusDict Dictionary containing status of requested endpoints.
         */
-       idempotent Status query(string requestor, string endpoint);
+       idempotent EndpointStatusDict query(string requestor, Ice::StringSeq endpoints);
 
        /**
         * Method used to subscribe to specific endpoint status updates.

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list