Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Interface ProviderPresenceStatusListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AccountList, ChatRoomTableModel, NotificationContact, StatusSubMenu

public interface ProviderPresenceStatusListener
extends EventListener

An event listener that should be implemented by parties interested in changes that occur in the state of a ProtocolProvider (e.g. PresenceStatusChanges)

Author:
Emil Ivov

Field Summary
static String STATUS_MESSAGE
          The property name of PropertyChangeEvents announcing changes in our status message.
 
Method Summary
 void providerStatusChanged(ProviderPresenceStatusChangeEvent evt)
          The method is called by a ProtocolProvider implementation whenever a change in the presence status of the corresponding provider had occurred.
 void providerStatusMessageChanged(PropertyChangeEvent evt)
          The method is called by a ProtocolProvider implementation whenever a change in the status message of the corresponding provider has occurred and has been confirmed by the server.
 

Field Detail

STATUS_MESSAGE

static final String STATUS_MESSAGE
The property name of PropertyChangeEvents announcing changes in our status message.

See Also:
Constant Field Values
Method Detail

providerStatusChanged

void providerStatusChanged(ProviderPresenceStatusChangeEvent evt)
The method is called by a ProtocolProvider implementation whenever a change in the presence status of the corresponding provider had occurred.

Parameters:
evt - ProviderStatusChangeEvent the event describing the status change.

providerStatusMessageChanged

void providerStatusMessageChanged(PropertyChangeEvent evt)
The method is called by a ProtocolProvider implementation whenever a change in the status message of the corresponding provider has occurred and has been confirmed by the server.

Parameters:
evt - a PropertyChangeEvent with a STATUS_MESSAGE property name, containing the old and new status messages.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.