[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "sip-auth-hook" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Feb 10 11:51:29 CST 2011
branch "sip-auth-hook" has been updated
via f08f95b47099e7310580f29f164c842d47f3061c (commit)
via fff2150a0cbf51c4848c59b46a822ecd99f7bb54 (commit)
via 0cde8ca15d8fe0848732a1d7fc2989a189af3f54 (commit)
from 89e06ac4dbdf1d9d6043a7770497dc83a05ae17a (commit)
Summary of changes:
AsteriskSCF/SIP/SIPExtensionPointIf.ice | 4 +-
.../SessionCommunicationsIf.ice | 25 ++++++++++++++++++++
AsteriskSCF/System/Hook/HookIf.ice | 5 ----
3 files changed, 27 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit f08f95b47099e7310580f29f164c842d47f3061c
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Thu Feb 10 11:49:35 2011 -0600
After further discussion, two changes are in order:
* There is no need for operations that register hooks to return a
HookId-type object; the only object required to be able to unregister
the hook in the future is the proxy to the hook, so a second object
is unnecessary.
* When registering a hook on an Extension Point, there is a need to
be able to specify a priority (lower number == higher priority), so
that hooks can be configured to run in a deterministic order.
diff --git a/AsteriskSCF/SIP/SIPExtensionPointIf.ice b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
index 9b9f642..ad6db50 100644
--- a/AsteriskSCF/SIP/SIPExtensionPointIf.ice
+++ b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
@@ -188,8 +188,8 @@ module V1
interface AuthExtensionPoint
{
- AsteriskSCF::System::Hook::V1::HookId addAuthHook(AuthHook *hook, RequestTypeSeq requestTypes);
- void removeAuthHook(AsteriskSCF::System::Hook::V1::HookId id);
+ void addAuthHook(AuthHook *hook, int priority, RequestTypeSeq requestTypes);
+ void removeAuthHook(AuthHook *hook);
void clearAuthHooks();
};
diff --git a/AsteriskSCF/System/Hook/HookIf.ice b/AsteriskSCF/System/Hook/HookIf.ice
index c9693fa..c205a2e 100644
--- a/AsteriskSCF/System/Hook/HookIf.ice
+++ b/AsteriskSCF/System/Hook/HookIf.ice
@@ -28,11 +28,6 @@ module Hook
module V1
{
- struct HookId
- {
- string id;
- };
-
enum HookStatus
{
/* Hook successfully processed input/returned result */
commit fff2150a0cbf51c4848c59b46a822ecd99f7bb54
Merge: 89e06ac 0cde8ca
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Thu Feb 10 11:46:58 2011 -0600
Merge branch 'master' into sip-auth-hook
commit 0cde8ca15d8fe0848732a1d7fc2989a189af3f54
Author: Brent Eagles <beagles at digium.com>
Date: Thu Feb 10 13:21:35 2011 -0330
Add add/remove default listener methods.
diff --git a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 614479c..e33311a 100644
--- a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -19,6 +19,7 @@
#include <AsteriskSCF/Core/Endpoint/EndpointIf.ice>
#include <AsteriskSCF/Core/Routing/RoutingIf.ice>
#include <AsteriskSCF/System/Component/ComponentServiceIf.ice>
+#include <AsteriskSCF/System/ExceptionsIf.ice>
#include <AsteriskSCF/System/Time/TimeIf.ice>
#include <AsteriskSCF/Media/MediaIf.ice>
@@ -682,6 +683,30 @@ module V1
*/
void removeListener(BridgeManagerListener* listener);
+ /**
+ * Method called to add a listener to the list of bridge listeners that
+ * will automatically be added to every bridge that is created.
+ *
+ * @param listener A proxy to the bridge listener to add.
+ *
+ * @throws NullProxyException if the listener proxy is a null proxy.
+ *
+ */
+ void addDefaultBridgeListener(BridgeListener* listener)
+ throws AsteriskSCF::System::V1::NullProxyException;
+
+ /**
+ * Method called to remove a listener to the list of bridge listeners that
+ * will automatically be added to every bridge that is created.
+ *
+ * @param listener A proxy to the bridge listener to remove.
+ *
+ * @throws NullProxyException if the listener proxy is a null proxy.
+ *
+ */
+ void removeDefaultBridgeListener(BridgeListener* listener)
+ throws AsteriskSCF::System::V1::NullProxyException;
+
/**
* Method called to get a list of bridges currently active in the bridge manager.
*
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list