[hydra-commits] hydra/slice.git branch "master" updated.

Commits to the Hydra project code repositories hydra-commits at lists.digium.com
Mon Aug 9 11:53:28 CDT 2010


branch "master" has been updated
       via  aedc8c12e431ba663550f722ad8ab1479535590e (commit)
      from  079ecce809a4748542aaea1dda341c5d78f649d9 (commit)

Summary of changes:
 Core/Bridging/BridgeServiceIf.ice |   12 ++++++++++--
 Core/Endpoint/EndpointIf.ice      |    8 ++++++++
 Session/SessionIf.ice             |    2 ++
 3 files changed, 20 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit aedc8c12e431ba663550f722ad8ab1479535590e
Author: Brent Eagles <beagles at digium.com>
Date:   Mon Aug 9 14:21:07 2010 -0230

    Added some exceptions for a few interfaces.

diff --git a/Core/Bridging/BridgeServiceIf.ice b/Core/Bridging/BridgeServiceIf.ice
index 60c8e1f..139e65b 100644
--- a/Core/Bridging/BridgeServiceIf.ice
+++ b/Core/Bridging/BridgeServiceIf.ice
@@ -33,6 +33,14 @@ module V1
    };
 
    /**
+    * The specified endpoint is not supported by this bridge.
+    */
+   exception UnsupportedEndpoint
+   {
+      Endpoint::V1::EndpointId ep;
+   };
+
+   /**
     * A Bridge manages the assocation between multiple endpoints participating in
     * a call.
     */
@@ -56,8 +64,8 @@ module V1
 
    interface BridgeEvents
    {
-      void epAdded(Endpoint::V1::BaseEndpoint ep);
-      void epRemoved(Endpoint::V1::BaseEndpoint ep);
+      void endpointAdded(Endpoint::V1::BaseEndpoint ep);
+      void endpointRemoved(Endpoint::V1::BaseEndpoint ep);
       void shuttingDown();
       void stopped();
    };
diff --git a/Core/Endpoint/EndpointIf.ice b/Core/Endpoint/EndpointIf.ice
index d3edb34..200fde2 100644
--- a/Core/Endpoint/EndpointIf.ice
+++ b/Core/Endpoint/EndpointIf.ice
@@ -23,6 +23,14 @@ module V1
    };
 
    /**
+    * Exception thrown when an ID does not meet system requirements.
+    */
+   exception InvalidEndpointId
+   {
+       EndpointId badId;
+   };
+
+   /**
     * A generic Endpoint.
     * TBD - NOTE: Not crazy about the name, but needs to be different from the module name!
     */
diff --git a/Session/SessionIf.ice b/Session/SessionIf.ice
index ad3e156..0b06dda 100644
--- a/Session/SessionIf.ice
+++ b/Session/SessionIf.ice
@@ -55,6 +55,8 @@ module V1
       Media::V1::Session* mediaSession;
    };
 
+   sequence<SessionEndpoint> SessionEndpointSeq;
+
    interface SessionManager extends System::Component::V1::ComponentService
    {
       SessionInfoSeq listCurrentSessions();

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


-- 
hydra/slice.git




More information about the asterisk-scf-commits mailing list