|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Conversation interface represents a conversation in a c-space.
Inner Class Summary | |
static interface |
Conversation.ConversationException
The ConversationException class represents a generic conversation exception. |
static interface |
Conversation.InvalidMessageException
An InvalidMessageException is thrown if a published or received document is not valid for the conversation. |
static interface |
Conversation.JoinException
A JoinException is thrown if an error occurred when joining a conversation. |
static interface |
Conversation.LeaveException
A LeaveException is thrown if an error occurred when leaving a conversation. |
static interface |
Conversation.PublishException
A PublishException is thrown if an error occurred when publishing a document in a conversation. |
static interface |
Conversation.TerminateException
A TerminateException is thrown if an error occurred when terminating a conversation. |
static interface |
Conversation.ValidationException
A ValidationException is thrown if an error occurred when validating a published or received document. |
Field Summary | |
static int |
FAILURE
Conversation terminated with error. |
static int |
SUCCESS
Conversation terminated successfully. |
Method Summary | |
CAInstance |
getCA()
Gets the Collaboration Agreement associated with this conversation. |
XOCPEnablerSession |
getEnablerSession()
Deprecated. Replaced by getXOCPApplicationSession() |
java.lang.String |
getId()
Gets the conversation ID for this conversation. |
int |
getState()
Get state of this conversation |
ConversationType |
getType()
Gets the conversation type for this conversation. |
XOCPApplicationSession |
getXOCPApplicationSession()
Gets the XOCP application session associated with this conversation. |
void |
leave(boolean temporary)
Leaves this conversation. |
void |
terminate(int result)
Terminates this conversation. |
void |
waitForCompletion(int seconds)
Waits for the initiated conversation to end. |
Field Detail |
public static final int SUCCESS
public static final int FAILURE
Method Detail |
public java.lang.String getId()
public CAInstance getCA()
public ConversationType getType()
public int getState()
State
public XOCPEnablerSession getEnablerSession()
getXOCPApplicationSession()
public XOCPApplicationSession getXOCPApplicationSession()
public void leave(boolean temporary) throws Conversation.LeaveException
temporary
- If true, stores messages on the c-hub until rejoining.
If false (default), discards messages until rejoining.public void terminate(int result) throws Conversation.TerminateException
result
- Conversation termination result.public void waitForCompletion(int seconds) throws Conversation.ConversationException
seconds
- Time to wait, in seconds.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |