|
Openfire 3.7.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.user.RemotePresenceEventDispatcher
public class RemotePresenceEventDispatcher
Dispatches presence events of remote users. The following events are supported:
addListener(RemotePresenceEventListener) and
removeListener(RemotePresenceEventListener) to add or remove RemotePresenceEventListener.
| Constructor Summary | |
|---|---|
RemotePresenceEventDispatcher()
|
|
| Method Summary | |
|---|---|
static void |
addListener(RemotePresenceEventListener listener)
Registers a listener to receive events. |
static void |
remoteUserAvailable(org.xmpp.packet.Presence presence)
Notification message indicating that a remote user is now available or has changed his available presence. |
static void |
remoteUserUnavailable(org.xmpp.packet.Presence presence)
Notification message indicating that a remote user that was available is no longer available. |
static void |
removeListener(RemotePresenceEventListener listener)
Unregisters a listener to receive events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemotePresenceEventDispatcher()
| Method Detail |
|---|
public static void addListener(RemotePresenceEventListener listener)
listener - the listener.public static void removeListener(RemotePresenceEventListener listener)
listener - the listener.public static void remoteUserAvailable(org.xmpp.packet.Presence presence)
presence - the received available presence.public static void remoteUserUnavailable(org.xmpp.packet.Presence presence)
presence - the received unavailable presence.
|
Openfire 3.7.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||