|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Address | This interface specifies the abstract concept of an address as considered by the application router implementation. |
Class Summary | |
---|---|
AddressPattern | The AddressPattern class encapsulates a regular expression that establishes a pattern against which addresses are evaluated for a match. |
Application | Represents the DFC abstract notion of an application. |
OriginatingAddress | This class represents an originating address as derived from a SipServletRequest. |
OriginatingPrecedenceComparator | This class provides a comparator for comparing two originating region applications. |
Precedence | The Precedence class represents a container class that holds all the precedence rule sets for both the originating and terminating regions. |
PrecedencePair | This class encapsulates a pair of applications with a precedence relationship between them. |
PrecedenceRules | This class encapsulates the complete set of precedence rule pairs that dictate the overall partial ordering among applications within a given routing region (either originating or terminating). |
RouterConfiguration | This class is a container class holding the overall DFC router configuration. |
RouteSet | The RouteSet class represents a mapping between a particular address and the corresponding ordered set of applications to which the address subscribes. |
SipApplicationDFCRouterImpl | This class is the top level class that constitutes the Distributed Feature Composition (DFC) Application Router implementation. |
SipApplicationDFCRouterProvider | Provider class that instantiate the DFC Application Router. |
StateInfo | The StateInfo class represents a set of information that the DFC router implementation wishes to be persistent and associated with an initial request. |
Subscription | This class is a wrapper for the set of applications that make up a subscription. |
SubscriptionRules | This class provides a mapping between AddressPattern and Subscription objects |
TerminatingAddress | Wrapper class defining DFC Router terminating (aka target) address. |
TerminatingPrecedenceComparator | This class provides a comparator for comparing two terminating region applications. |
The DFCRouterImpl package contains Java classes to implement an application router that patterns its behavior after the router described in the Distributed Feature Composition (DFC) architecture. This implementation adheres to the Application Router API as proposed in the SIP Servlet API 1.1 (JSR289) expert group.
As with any application router implementation adhering to the SIP Servlet API 1.1 (SSAPI-1.1), the DFCRouterImpl application router implements the SipApplicationRouter interface. Because this application router operates using a JSR116 adaptation layer, the actual interface implemented here is in the org.echarts.servlet.sip.appRouter package rather than the javax.servlet.sip package as will be the case for a JSR289 compliant container.
The main method in the SipApplicationRouter interface is the getNextApplication() method. The container/adaptation layer calls this method when it receives an initial request and wishes to know what SIP Servlet application to invoke next. The application router supplies the name of the next application along with other important information in the SipApplicationRouterInfo object returned to the container.
At a high level, the DFC application router implementation (hereafter, simply 'application router') works as follows.
null
as the next application name and the
container becomes responsible for routing
the request externally based on standard SIP protocol request routing.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |