com.ibm.tivoli.imi.spi

Interface IMMessageHandler

    • Method Detail

      • removeAllListeners

        void removeAllListeners()
      • sendMessage

        java.lang.String sendMessage(java.lang.String message)
                              throws IMException
        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
        Parameters:
        message -
        Throws:
        IMException - if something wrong happens during the message sending
        See Also:
        IMSession.createMessageHandler(IMUser)
      • closeConversation

        void closeConversation()
                        throws IMException
        This method allows the user to close a chat conversation
        Throws:
        IMException - if the conversation was not opened
      • isOpened

        boolean isOpened()
        Returns true only if the conversation is still opened
        Returns:
        true only if the conversation is still opened