|
JmDNS 3.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceListener
Listener for service updates.
Method Summary | |
---|---|
void |
serviceAdded(ServiceEvent event)
A service has been added. Note:This event is only the service added event. |
void |
serviceRemoved(ServiceEvent event)
A service has been removed. |
void |
serviceResolved(ServiceEvent event)
A service has been resolved. |
Method Detail |
---|
void serviceAdded(ServiceEvent event)
serviceResolved(ServiceEvent)
or call JmDNS.getServiceInfo(String, String, long)
ServiceInfo info = event.getDNS().getServiceInfo(event.getType(), event.getName())
Please note that service resolution may take a few second to resolve.
event
- The ServiceEvent providing the name and fully qualified type of the service.void serviceRemoved(ServiceEvent event)
event
- The ServiceEvent providing the name and fully qualified type of the service.void serviceResolved(ServiceEvent event)
event
- The ServiceEvent providing the name, the fully qualified type of the service, and the service info record.
|
Last updated 2011-08-25 12:40 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |