|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(Presence presence)
Notification message indicating that a remote user is now available or has changed his available presence. |
static void |
remoteUserUnavailable(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(Presence presence)
presence
- the received available presence.public static void remoteUserUnavailable(Presence presence)
presence
- the received unavailable presence.
|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |