public interface Conversation extends MessageListener
if (callbackListener == null) { ... } else {...}
block.Modifier and Type | Method and Description |
---|---|
void |
endConversation()
Ends the conversation.
|
void |
failConversation(OperationFailedEvent operationFailedEvent)
Can be used to fail an conversation.
|
String |
getConversationID()
Get the conversation ID for this conversation.
|
long |
getStartTime()
Returns the start time for the conversation.
|
boolean |
hasEnded()
Return whether this conversation has ended.
|
void |
startConversation()
Starts the conversation.
|
onMessage
String getConversationID()
long getStartTime()
void startConversation()
void endConversation()
boolean hasEnded()
void failConversation(OperationFailedEvent operationFailedEvent)
operationFailedEvent
- Contains information regarding the cause for the failure.Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.