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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Sep 20 10:29:53 CDT 2010


branch "master" has been updated
       via  8dc5001dccdda7e4df38c2bb9175f2b8e058536e (commit)
      from  df22de4cdfa237ab7cbabbc8af895de73f554a9a (commit)

Summary of changes:
 Core/Routing/RoutingI.ice |  161 ---------------------------------------------
 1 files changed, 0 insertions(+), 161 deletions(-)
 delete mode 100644 Core/Routing/RoutingI.ice


- Log -----------------------------------------------------------------
commit 8dc5001dccdda7e4df38c2bb9175f2b8e058536e
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Mon Sep 20 10:27:43 2010 -0500

    Removed stale file from left around from naming convention changes.

diff --git a/Core/Routing/RoutingI.ice b/Core/Routing/RoutingI.ice
deleted file mode 100644
index 594185b..0000000
--- a/Core/Routing/RoutingI.ice
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * Asterisk Scalable Communications Framework
- *
- * Copyright (C) 2010 -- Digium, Inc.
- *
- * All rights reserved.
- */
-
-#pragma once
-
-#include "Core/Endpoint/EndpointI.ice"
-
-module AsteriskSCF
-{
-module Core
-{
-module Routing
-{
-["suppress"]
-module V1
-{
-   const string Version = "V1";
-   
-   exception DestinationNotFoundException {};
-
-   exception DestinationExistsException {};
-
-   exception InvalidParamsException {};
-
-   sequence<string> RegExSeq;
-
-   /**
-    * Provides lookup of an Endpoint based on a string Id. 
-    */
-   interface EndpointLocator
-   {
-      /**
-       * Returns the endpoints that match the specified destination id. 
-       *   @param id String identifier of the the destination. 
-       */
-      idempotent Endpoint::V1::EndpointSeq lookup(string destination) 
-         throws DestinationNotFoundException, InvalidParamsException;
-   };
-
-   /**
-    * A registry of Endpoints. In addition to providing the EndpointLocator interface, a registry
-    * can be augmented with other EndpointLocators. A LocatorRegistry is expected to be able to return 
-    * a lookup for any of the EndpointLocators added to it. 
-    */
-   interface LocatorRegistry extends EndpointLocator
-   {
-      /**
-       * Add an EndpointLocator.
-       *   @param id A unique identifier for the added EndpointLocator. 
-       *   @param destinationIdRangeList A set of regular expressions that define the valid endpoint ids 
-       *     this locator supports. 
-       */
-      void addEndpointLocator(string id, RegExSeq destinationIdRangeList) 
-         throws DestinationExistsException, InvalidParamsException;
-
-      /**
-       * Remove an EndpointLocator.
-       *   @param The unique id of the locator to remove. 
-       */
-      void removeEndpointLocator(string id) throws DestinationNotFoundException;
-
-      // Changes the range of device ids accessible via given EndpointLocator. 
-      /**
-       * Modify the range of device ids managed by a previously added EndpointLocator. 
-       *   @param id A unique identifier for the added EndpointLocator. 
-       *   @param A list of reqular expressions that define the the valid endpoint ids. This 
-       *     set of regular expressions completely replaces the current set. 
-       */
-      void setEndpointLocatorDeviceIds(string id, RegExSeq deviceIdRangeList) 
-         throws DestinationNotFoundException, InvalidParamsException;
-   };
-
-
-   /** 
-    * Administrative interface to the service. 
-    */
-   interface RoutingServiceAdmin
-   {
-      /**
-       * Drop references to all EndpointLocators that have been registered. 
-       */
-      void clearEndpointLocators();
-
-      /**
-       * Sends a policy string to the Lua script processor.  The default implementation is a no-op, 
-       * but site-specific scripts may make use it. 
-       *    @param policy A site-specific policy specification.  
-       */
-      void setPolicy(string policy);
-   };
-
-
-   module Event
-   {
-      enum OperationResult
-      {
-         SUCCCESS,
-         FAILED
-      };
-
-      const string TopicId = "::hydra::routing::event";
-      
-      /**
-       * Interface for monitoring the basic routing service events. 
-       */
-      interface RoutingEvents
-      {
-         /**
-          * Notification that a lookup was attempted.
-          *  @param destinationId The destination being looked up. 
-          *  @param result Indicates whether or not the attempt was successful.
-          */
-         void lookupEvent(string destinationId, OperationResult result);
-
-         /**
-          * Notification that an attempt to add an EndpointLocator was made.
-          *  @param id The identifier of the EndpointLocator being added. 
-          *  @param destinationIdRangeList A set of regular expressions that define the endpoints available. 
-          *  @param result Indicates whether or not the attempt was successful.
-          */
-         void addEndpointLocatorEvent(string id, RegExSeq destinationIdRangeList, OperationResult result);
-
-         /**
-          * Notification that an attempt was made to remove an EndpointLocator. 
-          *  @param id The identifier of the EndpointLocator being removed. 
-          *  @param result Indicates whether or not the attempt was successful.
-          */
-         void removeEndpointLocatorEvent(string id, OperationResult result);
-
-         /**
-          * Notification that an attempt was made to modify the range of destinationIds 
-          * accessible from a given EndpointLocator.  
-          *  @param id The destination being looked up. 
-          *  @param destinationIdRangeList A list of regular expressions to be representative of the new valid ids. 
-          *  @param result Indicates whether or not the attempt was successful.
-          */
-         void setEndpointLocatorDeviceIds(string id, RegExSeq destinationIdRangeList, OperationResult result);
-
-         /**
-          * Called when the EndpointLocator cache has been cleared by an administrative action.  
-          */
-         void clearEndpointLocatorsEvent();
-
-         /**
-          * Called when an administation operation has set the routing service policy. 
-          *  @param policy The new policy.
-          */
-         void setPolicy(string policy);
-      };
-   };
-
-}; // module V1
-}; // module Routing
-}; // module Core
-}; // module AsteriskSCF
-

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list