public class SipApplicationRouterInfo extends Object
Constructor and Description |
---|
SipApplicationRouterInfo(String nextApplicationName,
SipApplicationRoutingRegion routingRegion,
String subscriberURI,
String[] routes,
SipRouteModifier mod,
Serializable stateInfo)
Creates a SipApplicationRouterInfo object containing the information necessary for the
conatiner to perform its routing decision.
|
Modifier and Type | Method and Description |
---|---|
String |
getNextApplicationName() |
SipRouteModifier |
getRouteModifier() |
String[] |
getRoutes()
An array of SIP routes of the same type (internal or external).
|
SipApplicationRoutingRegion |
getRoutingRegion() |
Serializable |
getStateInfo() |
String |
getSubscriberURI() |
public SipApplicationRouterInfo(String nextApplicationName, SipApplicationRoutingRegion routingRegion, String subscriberURI, String[] routes, SipRouteModifier mod, Serializable stateInfo)
nextApplicationName
- The name of the application that the
application router selects to service this request. If no
further application is needed in the current region, this is
set to null.routingRegion
- The Routing region in which the application that is selected will serve.subscriberURI
- The URI that the application is selected to serveroutes
- array of external routes or an internal route. External routes
are pushed onto the request by the container, internal route
is used by SipServletRequest.getPoppedRoute()
.mod
- An enum modifier which qualifies the routes returned and the router behaviorstateInfo
- Arbitrary state information of the application router
that it wishes the container to store on its behalfpublic String getNextApplicationName()
public String[] getRoutes()
public Serializable getStateInfo()
public String getSubscriberURI()
public SipApplicationRoutingRegion getRoutingRegion()
public SipRouteModifier getRouteModifier()
SipRouteModifier
associated with the router info.Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.