[asterisk-scf-commits] asterisk-scf/release/slice.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Wed Aug 10 19:17:14 CDT 2011
branch "master" has been updated
via 01d21200cca061fed160a07cbfd06e6814cf585b (commit)
from 89d5514fadac44681f7a38a627aa2728c7bb16c1 (commit)
Summary of changes:
.../SessionCommunicationsIf.ice | 29 ++++++++++++++++++++
slice/AsteriskSCF/System/ExceptionsIf.ice | 15 ++++++++++
2 files changed, 44 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 01d21200cca061fed160a07cbfd06e6814cf585b
Author: Ken Hunt <ken.hunt at digium.com>
Date: Wed Aug 10 19:17:07 2011 -0500
Support for default session cookies and default session listeners.
diff --git a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index 615a6ce..8426ace 100644
--- a/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/slice/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -755,6 +755,35 @@ module V1
* @return a sequence of Session proxies.
*/
idempotent SessionSeq getSessions();
+
+ /**
+ * Adds a default SessionListener for sessions created for this endpoint.
+ * Does not alter existing sessions, but will add the listener to
+ * any sessions created henceforth, until the default listener
+ * is removed.
+ */
+ void addDefaultSessionListener(SessionListener* listener);
+
+ /**
+ * Removes a default SessionListener. Doesn't remove the
+ * the listener from any existing sessions, but rather
+ * stops adding the listener to future sessions.
+ */
+ void removeDefaultSessionListener(SessionListener* listener);
+
+ /**
+ * Adds default SessionCookies for sessions created for this endpoint.
+ * Does not alter any existing sessions, but any sessions created
+ * henceforth will have these cookies set.
+ */
+ void addDefaultSessionCookies(SessionCookies cookies);
+
+ /**
+ * Removes a set of default SessionCookies for sessions created for this endpoint.
+ * Doesn't remove cookies from any existing sessions, but new
+ * sessions for this endpoint will not have these cookies set.
+ */
+ void removeDefaultSessionCookies(SessionCookies cookies);
};
/**
diff --git a/slice/AsteriskSCF/System/ExceptionsIf.ice b/slice/AsteriskSCF/System/ExceptionsIf.ice
index f18a941..7a410ec 100644
--- a/slice/AsteriskSCF/System/ExceptionsIf.ice
+++ b/slice/AsteriskSCF/System/ExceptionsIf.ice
@@ -31,11 +31,26 @@ module V1
{
};
+ /**
+ * Exception thrown when a "null" handle is passed in where it is invalid to do so.
+ */
+ exception NullHandleException
+ {
+ };
+
exception InternalInitializationException
{
string message;
};
+ /**
+ * Exception thrown when an unknown object is requested.
+ */
+ exception UnknownObject
+ {
+ string identifier;
+ };
+
}; /* End of V1 */
}; /* End of System */
-----------------------------------------------------------------------
--
asterisk-scf/release/slice.git
More information about the asterisk-scf-commits
mailing list