public class MocUtil
extends java.lang.Object
Constructor and Description |
---|
MocUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
initiatingSession(IMSessionMocImpl session)
Method that initialize the session and put the user Available on
Microsoft Office communicator
|
static java.lang.String |
queryPresence(IMSessionMocImpl session)
Method responsable to send request user status to MOC
|
static java.lang.String |
sendMessage(java.lang.String message,
IMSessionMocImpl session,
IMUser partner)
Method responsable to send messages from handlers to MOC
|
static void |
signIn(IMSessionMocImpl session)
Method that realize the signIn on Microsoft Office communicator
|
static void |
terminatingSession(IMSessionMocImpl session)
Method that finalize the session on Microsoft Office communicator
|
public static void signIn(IMSessionMocImpl session) throws IMException
IMException
public static void initiatingSession(IMSessionMocImpl session) throws IMException
IMException
public static void terminatingSession(IMSessionMocImpl session) throws IMException
IMException
public static java.lang.String sendMessage(java.lang.String message, IMSessionMocImpl session, IMUser partner) throws IMException
message
- String
message that will be sendsession
- IMSessionMocImpl
current IMI sessionpartner
- user that message will be sendIMException
public static java.lang.String queryPresence(IMSessionMocImpl session) throws IMException
session
- IMSessionMocImpl
current IMI sessionIMException