public class MDNSProvisioningDiscover
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
MDNSProvisioningDiscover()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDiscoveryListener(DiscoveryListener listener)
Add a listener that will be notified when the
discoverProvisioningURL has finished.
|
java.lang.String |
discoverProvisioningURL()
It sends a mDNS to retrieve provisioning URL and wait for a response.
|
void |
removeDiscoveryListener(DiscoveryListener listener)
Add a listener that will be notified when the
discoverProvisioningURL has finished.
|
void |
run()
Thread entry point.
|
public void run()
run
in interface java.lang.Runnable
public java.lang.String discoverProvisioningURL()
public void addDiscoveryListener(DiscoveryListener listener)
listener
- ProvisioningListener to addpublic void removeDiscoveryListener(DiscoveryListener listener)
listener
- ProvisioningListener to add
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.