[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
Thu Aug 18 11:28:43 CDT 2011
branch "master" has been updated
via 863f7198cb53dd4c60b11f8bfe3d2e8a8b8f7160 (commit)
from 01d21200cca061fed160a07cbfd06e6814cf585b (commit)
Summary of changes:
AsteriskSCF/SIP/SIPRegistrarIf.ice | 125 ------------------------------------
1 files changed, 0 insertions(+), 125 deletions(-)
delete mode 100644 AsteriskSCF/SIP/SIPRegistrarIf.ice
- Log -----------------------------------------------------------------
commit 863f7198cb53dd4c60b11f8bfe3d2e8a8b8f7160
Author: David M. Lee <dlee at digium.com>
Date: Thu Aug 18 11:28:41 2011 -0500
Duplicates are bad
diff --git a/AsteriskSCF/SIP/SIPRegistrarIf.ice b/AsteriskSCF/SIP/SIPRegistrarIf.ice
deleted file mode 100644
index 508871c..0000000
--- a/AsteriskSCF/SIP/SIPRegistrarIf.ice
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Asterisk SCF -- An open-source communications framework.
- *
- * Copyright (C) 2011, Digium, Inc.
- *
- * See http://www.asterisk.org for more information about
- * the Asterisk SCF project. Please do not directly contact
- * any of the maintainers of this project for assistance;
- * the project provides a web site, mailing lists and IRC
- * channels for your use.
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License Version 2. See the LICENSE.txt file
- * at the top of the source tree.
- */
-
-#pragma once
-
-#include <Ice/BuiltinSequences.ice>
-
-module AsteriskSCF
-{
-
-module SIP
-{
-
-module Registration
-{
-
-["suppress"]
-module V1
-{
-
-class Binding
-{
- /**
- * The contact URI associated with this particular Binding.
- */
- string contact;
- /**
- * The Call-ID from the latest successful Binding.
- */
- string callid;
- /**
- * The CSeq from the latest successful Binding.
- */
- int cseq;
- /**
- * A UNIX timestamp indicating when the Binding is set
- * to expire
- */
- int expiration;
-};
-
-sequence<Binding> BindingSeq;
-
-dictionary<string, BindingSeq> BindingDict;
-
-struct BindingUpdate
-{
- /**
- * The AoR for which bindings have been updated
- */
- string aor;
- /**
- * The contacts from all bindings for this AoR
- */
- Ice::StringSeq contacts;
-};
-
-/**
- * A RegistrarListener is updated when a binding changes.
- * Typical RegistrarListeners will be SIP services that
- * require up-to-date information.
- */
-interface RegistrarListener
-{
- /**
- * Alerts the listener that contacts have been added.
- * The AoR may be new or it may have previous
- * bindings.
- */
- void contactsAdded(BindingUpdate contacts);
- /**
- * Alerts the listener that contacts have been removed.
- * There is no specific call for indicating that an AoR
- * no longer has contacts associated with it. After this
- * method has been called, listeners should take
- * appropriate action if the AoR has no bound contacts.
- */
- void contactsRemoved(BindingUpdate contacts);
-};
-
-/**
- * A dictionary mapping
- * AoRs to their bound contacts
- */
-dictionary<string, Ice::StringSeq> ContactDict;
-
-interface Registrar
-{
- /**
- * Add a new listener to the registrar.
- * The return value is the map of all AoRs and their
- * bindings.
- */
- ContactDict addListener(RegistrarListener *listener);
- /**
- * Remove a listener.
- */
- void removeListener(RegistrarListener *listener);
- /**
- * Get the mapping of all active registrations.
- */
- BindingDict getAllBindings();
- /**
- * Get all bindings associated with a particular AoR
- */
- BindingSeq getAORBindings(string aor);
-};
-
-}; // end module V1
-}; // end module Registration
-}; // end module SIP
-}; // end module AsteriskSCF
-----------------------------------------------------------------------
--
asterisk-scf/release/slice.git
More information about the asterisk-scf-commits
mailing list