public class IMUserStatusHandlerMocImpl extends java.lang.Object implements IMUserStatusHandler
Constructor and Description |
---|
IMUserStatusHandlerMocImpl(IMSessionMocImpl session) |
Modifier and Type | Method and Description |
---|---|
void |
addListenedUser(IMUser imUser) |
void |
addListener(IMUserStatusListener userStatusListener) |
boolean |
hasListenedUser(IMUser imuser) |
void |
removeAllListenedUsers() |
void |
removeAllListeners() |
void |
removeListenedUser(IMUser imUser) |
void |
removeListener(IMUserStatusListener userStatusListener) |
void |
userStatusChange(IMUser imUser,
IMUser.IMUserStatus status) |
public IMUserStatusHandlerMocImpl(IMSessionMocImpl session)
public void addListenedUser(IMUser imUser) throws IMException
addListenedUser
in interface IMUserStatusHandler
IMException
public void addListener(IMUserStatusListener userStatusListener) throws IMException
addListener
in interface IMUserStatusHandler
IMException
public boolean hasListenedUser(IMUser imuser) throws IMException
hasListenedUser
in interface IMUserStatusHandler
IMException
public void removeAllListenedUsers()
removeAllListenedUsers
in interface IMUserStatusHandler
public void removeAllListeners()
removeAllListeners
in interface IMUserStatusHandler
public void removeListenedUser(IMUser imUser)
removeListenedUser
in interface IMUserStatusHandler
public void removeListener(IMUserStatusListener userStatusListener)
removeListener
in interface IMUserStatusHandler
public void userStatusChange(IMUser imUser, IMUser.IMUserStatus status)