com.ibm.tivoli.imi.drivers.moc2007.util

Class MocUtil

  • java.lang.Object
    • com.ibm.tivoli.imi.drivers.moc2007.util.MocUtil


  • public class MocUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      MocUtil() 
    • Constructor Detail

      • MocUtil

        public MocUtil()
    • Method Detail

      • initiatingSession

        public static void initiatingSession(IMSessionMocImpl session)
                                      throws IMException
        Method that initialize the session and put the user Available on Microsoft Office communicator
        Throws:
        IMException
      • terminatingSession

        public static void terminatingSession(IMSessionMocImpl session)
                                       throws IMException
        Method that finalize the session on Microsoft Office communicator
        Throws:
        IMException
      • sendMessage

        public static java.lang.String sendMessage(java.lang.String message,
                                                   IMSessionMocImpl session,
                                                   IMUser partner)
                                            throws IMException
        Method responsable to send messages from handlers to MOC
        Parameters:
        message - String message that will be send
        session - IMSessionMocImpl current IMI session
        partner - user that message will be send
        Returns:
        Throws:
        IMException
      • queryPresence

        public static java.lang.String queryPresence(IMSessionMocImpl session)
                                              throws IMException
        Method responsable to send request user status to MOC
        Parameters:
        session - IMSessionMocImpl current IMI session
        Returns:
        Throws:
        IMException