|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Session

This interface represents a session being monitored, which relates to a protocol evaluating events that belong to a conversation instance.
| Method Summary | |
|---|---|
void |
addNodeIndex(int index)
This method adds a node index to the session. |
Session |
createInterruptConversation(Session main,
int returnIndex)
This method creates a nested conversation, associated with an interrupt scope, that should return to the supplied index when it completes. |
Session |
createNestedConversation(int returnIndex)
This method creates a nested conversation that should return to the supplied index when it completes. |
List<Session> |
getInterruptConversations()
This method returns the list of interrupt conversations. |
List<Session> |
getNestedConversations()
This method returns the list of nested conversations. |
int |
getNodeIndexAt(int pos)
This method returns the node index at the specified position. |
int |
getNumberOfNodeIndexes()
This method returns the number of node indexes associated with the session. |
Session |
getParentConversation()
This method returns the parent conversation. |
int |
getReturnIndex()
This method retrieves the 'return' index associated with a nested session. |
boolean |
isFinished()
This method indicates whether the session has finished. |
void |
removeNestedConversation(Session session)
This method removes the nested session. |
void |
removeNodeIndexAt(int index)
This method removes a node index to the session. |
| Method Detail |
|---|
void addNodeIndex(int index)
index - The indexvoid removeNodeIndexAt(int index)
index - The indexint getNumberOfNodeIndexes()
int getNodeIndexAt(int pos)
pos - The position
boolean isFinished()
Session createNestedConversation(int returnIndex)
returnIndex - The return index
Session createInterruptConversation(Session main,
int returnIndex)
main - The main sessionreturnIndex - The return index
int getReturnIndex()
List<Session> getNestedConversations()
Session getParentConversation()
List<Session> getInterruptConversations()
void removeNestedConversation(Session session)
session - The session to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||