com.ibm.tivoli.imi.drivers.sametime

Class IMMessageHandlerSTImpl

  • java.lang.Object
    • com.ibm.tivoli.imi.drivers.sametime.IMMessageHandlerSTImpl
  • All Implemented Interfaces:
    IMMessageHandler, com.lotus.sametime.im.ImListener, com.lotus.sametime.im.ImServiceListener


    public class IMMessageHandlerSTImpl
    extends java.lang.Object
    implements IMMessageHandler, com.lotus.sametime.im.ImServiceListener, com.lotus.sametime.im.ImListener
    • Constructor Summary

      Constructors 
      Constructor and Description
      IMMessageHandlerSTImpl(IMSessionSTImpl session, com.lotus.sametime.im.InstantMessagingService imService, IMUser imPartner, com.lotus.sametime.core.types.STUser stPartner) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addListener(IMMessageListener messageListener) 
      void closeConversation()
      This method allows the user to close a chat conversation
      void dataReceived(com.lotus.sametime.im.ImEvent evt) 
      void imClosed(com.lotus.sametime.im.ImEvent evt) 
      void imOpened(com.lotus.sametime.im.ImEvent evt) 
      void imReceived(com.lotus.sametime.im.ImEvent evt) 
      boolean isOpened()
      Returns true only if the conversation is still opened
      void openImFailed(com.lotus.sametime.im.ImEvent evt) 
      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 textReceived(com.lotus.sametime.im.ImEvent evt) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IMMessageHandlerSTImpl

        public IMMessageHandlerSTImpl(IMSessionSTImpl session,
                                      com.lotus.sametime.im.InstantMessagingService imService,
                                      IMUser imPartner,
                                      com.lotus.sametime.core.types.STUser stPartner)
    • Method Detail

      • imReceived

        public void imReceived(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        imReceived in interface com.lotus.sametime.im.ImServiceListener
      • imOpened

        public void imOpened(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        imOpened in interface com.lotus.sametime.im.ImListener
      • openImFailed

        public void openImFailed(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        openImFailed in interface com.lotus.sametime.im.ImListener
      • textReceived

        public void textReceived(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        textReceived in interface com.lotus.sametime.im.ImListener
      • dataReceived

        public void dataReceived(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        dataReceived in interface com.lotus.sametime.im.ImListener
      • imClosed

        public void imClosed(com.lotus.sametime.im.ImEvent evt)
        Specified by:
        imClosed in interface com.lotus.sametime.im.ImListener
      • isOpened

        public boolean isOpened()
        Description copied from interface: IMMessageHandler
        Returns true only if the conversation is still opened
        Specified by:
        isOpened in interface IMMessageHandler
        Returns:
        true only if the conversation is still opened