public interface IMMessageHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(IMMessageListener messageListener) |
void |
closeConversation()
This method allows the user to close a chat conversation
|
boolean |
isOpened()
Returns true only if the conversation is still opened
|
void |
removeAllListeners() |
void |
removeListener(IMMessageListener messageListener) |
java.lang.String |
sendMessage(java.lang.String message)
The user account related to the session will be used to send an IM
message to the IM partner related to this object durin its instantiation
|
void addListener(IMMessageListener messageListener) throws IMException
IMExceptionvoid removeListener(IMMessageListener messageListener)
void removeAllListeners()
java.lang.String sendMessage(java.lang.String message)
throws IMException
message - IMException - if something wrong happens during the message sendingIMSession.createMessageHandler(IMUser)void closeConversation()
throws IMException
IMException - if the conversation was not openedboolean isOpened()