|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.continuations.CallState
public class CallState
Contains the state of a call continuation.
The only really important property is the continuation ID, which should contain the ID of the continuation context that was active when the call was triggered.
The state property is totally optional and is there to be used in case other state needs to be preserved for a call continuation. RIFE's web engine, for instance, uses it to tie an element's execution state to a call continuation.
| Constructor Summary | |
|---|---|
CallState(String continuationId,
Object state)
Creates a new CallState instance. |
|
| Method Summary | |
|---|---|
String |
getContinuationId()
Retrieves the ID of the continuation that triggered the call. |
Object |
getState()
Retrieves the optional state that is tied to the call continuation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallState(String continuationId,
Object state)
CallState instance.
continuationId - the continuation context ID that triggered the
call continuationstate - the optional state that should be tied to the call
continuation| Method Detail |
|---|
public String getContinuationId()
public Object getState()
null if no additional state is tied to it
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||