Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.geolocation.event
Interface GeolocationListener

All Superinterfaces:
EventListener

public interface GeolocationListener
extends EventListener

An event listener that should be implemented by parties interested in changes that occur in the state of a ProtocolProvider.

Author:
Guillaume Schreiner

Method Summary
 void providerStatusChanged(LocalPositionChangeEvent evt)
          The method is called by a ProtocolProvider implementation whenever a change in the Geolocation 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.
 

Method Detail

providerStatusChanged

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

Parameters:
evt - ProviderGeolocationPresenceChangeEvent 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 Geolocation.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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