public class IMUserStatusHandlerXMPPImpl extends java.lang.Object implements IMUserStatusHandler, org.jivesoftware.smack.RosterListener
Constructor and Description |
---|
IMUserStatusHandlerXMPPImpl(IMSessionXMPPImpl session,
org.jivesoftware.smack.Roster roster) |
Modifier and Type | Method and Description |
---|---|
void |
addListenedUser(IMUser imUser) |
void |
addListener(IMUserStatusListener userStatusListener) |
void |
entriesAdded(java.util.Collection<java.lang.String> arg0) |
void |
entriesDeleted(java.util.Collection<java.lang.String> arg0) |
void |
entriesUpdated(java.util.Collection<java.lang.String> arg0) |
boolean |
hasListenedUser(IMUser imUser) |
void |
presenceChanged(org.jivesoftware.smack.packet.Presence presence) |
void |
removeAllListenedUsers() |
void |
removeAllListeners() |
void |
removeListenedUser(IMUser imUser) |
void |
removeListener(IMUserStatusListener userStatusListener) |
public IMUserStatusHandlerXMPPImpl(IMSessionXMPPImpl session, org.jivesoftware.smack.Roster roster)
public void addListener(IMUserStatusListener userStatusListener) throws IMException
addListener
in interface IMUserStatusHandler
IMException
public void removeListener(IMUserStatusListener userStatusListener)
removeListener
in interface IMUserStatusHandler
public void removeAllListeners()
removeAllListeners
in interface IMUserStatusHandler
public boolean hasListenedUser(IMUser imUser) throws IMException
hasListenedUser
in interface IMUserStatusHandler
IMException
public void addListenedUser(IMUser imUser) throws IMException
addListenedUser
in interface IMUserStatusHandler
IMException
public void removeListenedUser(IMUser imUser)
removeListenedUser
in interface IMUserStatusHandler
public void removeAllListenedUsers()
removeAllListenedUsers
in interface IMUserStatusHandler
public void entriesAdded(java.util.Collection<java.lang.String> arg0)
entriesAdded
in interface org.jivesoftware.smack.RosterListener
public void entriesDeleted(java.util.Collection<java.lang.String> arg0)
entriesDeleted
in interface org.jivesoftware.smack.RosterListener
public void entriesUpdated(java.util.Collection<java.lang.String> arg0)
entriesUpdated
in interface org.jivesoftware.smack.RosterListener
public void presenceChanged(org.jivesoftware.smack.packet.Presence presence)
presenceChanged
in interface org.jivesoftware.smack.RosterListener