|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Conversable
The Conversable interface is used to indicate objects that can have conversations.
Method Summary | |
---|---|
void |
abandonConversation(Conversation conversation)
Abandons an active conversation. |
void |
abandonConversation(Conversation conversation,
ConversationAbandonedEvent details)
Abandons an active conversation. |
void |
acceptConversationInput(String input)
Accepts input into the active conversation. |
boolean |
beginConversation(Conversation conversation)
Enters into a dialog with a Conversation object. |
boolean |
isConversing()
Tests to see of a Conversable object is actively engaged in a conversation. |
void |
sendRawMessage(String message)
Sends this sender a message raw |
Method Detail |
---|
boolean isConversing()
void acceptConversationInput(String input)
input
- The input message into the conversationboolean beginConversation(Conversation conversation)
conversation
- The conversation to begin
void abandonConversation(Conversation conversation)
conversation
- The conversation to abandonvoid abandonConversation(Conversation conversation, ConversationAbandonedEvent details)
conversation
- The conversation to abandondetails
- Details about why the conversation was abandonedvoid sendRawMessage(String message)
message
- Message to be displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |