|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.sip.ar.SipApplicationRoutingRegion
public class SipApplicationRoutingRegion
A class that represents the application routing region. It uses the
predefined regions in the Enum SipApplicationRoutingRegionType
and also
allows for implementations to have additional or new regions if it is so
required. This could be useful in non telephony domains where the concept of
of a caller and callee is not applicable.
Field Summary | |
---|---|
static SipApplicationRoutingRegion |
NEUTRAL_REGION
The NEUTRAL region contains applications that do not service a specific subscriber. |
static SipApplicationRoutingRegion |
ORIGINATING_REGION
The ORIGINATING region contains applications that service the caller. |
static SipApplicationRoutingRegion |
TERMINATING_REGION
The TERMINATING region contains applications that service the callee. |
Constructor Summary | |
---|---|
SipApplicationRoutingRegion(java.lang.String label,
SipApplicationRoutingRegionType type)
Deployer may define new routing region by constructing a new SipApplicationRoutingRegion object. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
Each routing region has a String label. |
SipApplicationRoutingRegionType |
getType()
Each routing region is either ORIGINATING, TERMINATING, or NEUTRAL type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SipApplicationRoutingRegion ORIGINATING_REGION
public static final SipApplicationRoutingRegion TERMINATING_REGION
public static final SipApplicationRoutingRegion NEUTRAL_REGION
Constructor Detail |
---|
public SipApplicationRoutingRegion(java.lang.String label, SipApplicationRoutingRegionType type)
SipApplicationRoutingRegionType
may be null in cases when a custom region is defined.
Method Detail |
---|
public java.lang.String getLabel()
public final SipApplicationRoutingRegionType getType()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |