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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Mar 3 13:51:37 CST 2011


branch "async-bridging" has been updated
       via  5a97d6138732854ab1a7d77972710fe45e075d91 (commit)
      from  7cf6d3cd750150b64f9d4a95a4ef69a62207ab2d (commit)

Summary of changes:
 .../SessionCommunicationsIf.ice                    |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 5a97d6138732854ab1a7d77972710fe45e075d91
Author: Brent Eagles <beagles at digium.com>
Date:   Thu Mar 3 16:18:41 2011 -0330

    Initial slice changes.

diff --git a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 13e15a3..39f1119 100644
--- a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -509,6 +509,28 @@ module V1
     };
 
     /**
+     *
+     * Some operations that take a collection of sessions may be executed asynchronously and may fail in an unatomic
+     * fashion. In the event that such an operation failed, a BridgeSessionOperationFailed exception is thrown with the
+     * session proxies that experienced the failure as well as a description of the exception (most often the result of
+     * a what() call on the exception itself.
+     *
+     * When such an exception occurs, it can be assumed that the operation succeeded for any session proxy that is in
+     * the SessionErrorSeq.
+     *
+     **/
+    struct SessionError
+    {
+        Session* failedSession;
+        string message;
+    };
+    sequence<SessionError> SessionErrorSeq;
+    exception BridgeSessionOperationFailed
+    {
+        SessionErrorSeq failures;
+    };
+
+    /**
      * Forward declaration for the BridgeListener interface.
      */
     interface BridgeListener;

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list