|
|||||||||
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.StateInfo
public class StateInfo
The StateInfo class represents a set of information that the DFC router implementation wishes to be persistent and associated with an initial request. This information is used by the router to know when the subscribing address has changed between two invocations of the router and to know which applications are yet to be invoked in the current region.
Constructor Summary | |
---|---|
StateInfo()
Constructor to initialize the object |
|
StateInfo(Address address,
java.util.Vector<Application> routeSet)
Another constructor that uses an Address and route set vector to initialize the StateInfo object |
|
StateInfo(java.lang.String stateInfo)
Constructor that initializes a StateInfo object from its String representation |
Method Summary | |
---|---|
Application |
getNextApplication()
Get the next application to be invoked from the StateInfo object. |
java.lang.String |
getPreviousAddress()
Retrieve the previous address from the StateInfo object |
void |
popNextApplication()
Pop the next application off the route set. |
java.lang.String |
toString()
Represent the StateInfo object as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateInfo()
public StateInfo(Address address, java.util.Vector<Application> routeSet)
address
- Address to be used in initializing the new StateInfo objectrouteSet
- Vector of applications to be used in initializing the new
StateInfo objectpublic StateInfo(java.lang.String stateInfo)
stateInfo
- String representation of StateInfo objectMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPreviousAddress()
public Application getNextApplication()
null
public void popNextApplication()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |