|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.servlet.sip.appRouter.DFCRouterImpl.RouteSet
public class RouteSet
The RouteSet class represents a mapping between a particular address and the corresponding ordered set of applications to which the address subscribes. Not to be confused with SubscriptionRules that are part of the static router configuration, a RouteSet object is built dynamically by the DFC application router by comparing an address found in an initial request with the subscription rules associated with the current routing region. This process allows the router implementation to arrive at a set of applications subscribed to by the address. The set of applications is then ordered according to the application precedence rules for the region.
SubscriptionRules
Constructor Summary | |
---|---|
RouteSet(Address address)
Initialize a route set. |
Method Summary | |
---|---|
void |
buildRouteSet()
Build an ordered set of applications that subscribe to the address initialized in the constructor. |
Application |
getNextApplication()
Get the top application from the route set. |
java.util.Vector<Application> |
getRouteSet()
Get the route set associated with the associated address. |
void |
popNextApplication()
Pop next application object from top of route set. |
void |
setRouteSetSuffix(Application application)
Get the suffix route set consisting of the applications in the route set after the indicated application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RouteSet(Address address)
address
- abstract address from which this route set will be built.
Note that this constructor does very little. The real construction of the route
set is accomplished in the buildRouteSet method.buildRouteSet()
Method Detail |
---|
public void buildRouteSet()
public java.util.Vector<Application> getRouteSet()
public void setRouteSetSuffix(Application application)
public Application getNextApplication()
null
popNextApplication()
public void popNextApplication()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |