public class AutoAwayWatcher extends java.lang.Object implements org.osgi.framework.ServiceListener, RegistrationStateChangeListener
Constructor and Description |
---|
AutoAwayWatcher()
Creates AutoAway handler.
|
Modifier and Type | Method and Description |
---|---|
void |
registrationStateChanged(RegistrationStateChangeEvent evt)
Listens for provider states.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
When new protocol provider is registered we add our
registration change listener.
|
void |
stop()
Stops and removes the listeners.
|
public void stop()
public void serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
serviceChanged
in interface org.osgi.framework.ServiceListener
serviceEvent
- ServiceEventpublic void registrationStateChanged(RegistrationStateChangeEvent evt)
registrationStateChanged
in interface RegistrationStateChangeListener
evt
-
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.