|
Openfire 3.5.0.rc1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PresenceEventListener
Interface to listen for presence events. Use the
PresenceEventDispatcher.addListener(PresenceEventListener)
method to register for events.
Method Summary | |
---|---|
void |
availableSession(ClientSession session,
Presence presence)
Notification message indicating that a session that was not available is now available. |
void |
presenceChanged(ClientSession session,
Presence presence)
Notification message indicating that an available session has changed its presence. |
void |
presencePriorityChanged(ClientSession session,
Presence presence)
Notification message indicating that the presence priority of a session has been modified. |
void |
subscribedToPresence(JID subscriberJID,
JID authorizerJID)
Notification message indicating that a user has successfully subscribed to the presence of another user. |
void |
unavailableSession(ClientSession session,
Presence presence)
Notification message indicating that a session that was available is no longer available. |
void |
unsubscribedToPresence(JID unsubscriberJID,
JID recipientJID)
Notification message indicating that a user has unsubscribed to the presence of another user. |
Method Detail |
---|
void availableSession(ClientSession session, Presence presence)
session
- the session that is now available.presence
- the received available presence.void unavailableSession(ClientSession session, Presence presence)
session
- the session that is no longer available.presence
- the received unavailable presence.void presencePriorityChanged(ClientSession session, Presence presence)
session
- the affected session.presence
- the presence that changed the priority.void presenceChanged(ClientSession session, Presence presence)
session
- the affected session.presence
- the received available presence with the new information.void subscribedToPresence(JID subscriberJID, JID authorizerJID)
subscriberJID
- the user that initiated the subscription.authorizerJID
- the user that authorized the subscription.void unsubscribedToPresence(JID unsubscriberJID, JID recipientJID)
unsubscriberJID
- the user that initiated the unsubscribe request.recipientJID
- the recipient user of the unsubscribe request.
|
Openfire 3.5.0.rc1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |