[hydra-commits] hydra/slice.git branch "master" updated.
Commits to the Hydra project code repositories
hydra-commits at lists.digium.com
Thu Aug 5 19:15:57 CDT 2010
branch "master" has been updated
via 4bcec48e26831c99d66af8c46c6ed68b2dcd0687 (commit)
from 0f371deb9ebd2d3c019f7349d95a54545743fef7 (commit)
Summary of changes:
Core/Endpoint/EndpointI.ice~ | 150 ------------------------------------------
1 files changed, 0 insertions(+), 150 deletions(-)
delete mode 100644 Core/Endpoint/EndpointI.ice~
- Log -----------------------------------------------------------------
commit 4bcec48e26831c99d66af8c46c6ed68b2dcd0687
Author: Ken Hunt <ken.hunt at digium.com>
Date: Thu Aug 5 19:15:14 2010 -0500
Removed superfluous editor backup.
diff --git a/Core/Endpoint/EndpointI.ice~ b/Core/Endpoint/EndpointI.ice~
deleted file mode 100644
index 27b013f..0000000
--- a/Core/Endpoint/EndpointI.ice~
+++ /dev/null
@@ -1,150 +0,0 @@
-#pragma once
-
-module Hydra
-{
-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 Channel::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 managed by a given channel.
- /**
- * Modify the range of device ids managed by a previously 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 channelId, 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 channelId, 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 Hydra
-
-----------------------------------------------------------------------
--
hydra/slice.git
More information about the asterisk-scf-commits
mailing list