javax.jmdns
Interface ServiceListener
- EventListener
public interface ServiceListener
extends EventListener
Listener for service updates.
serviceAdded
public void serviceAdded(ServiceEvent event)
A service has been added.
event
- The ServiceEvent providing the name and fully qualified type
of the service.
serviceRemoved
public void serviceRemoved(ServiceEvent event)
A service has been removed.
event
- The ServiceEvent providing the name and fully qualified type
of the service.
serviceResolved
public void serviceResolved(ServiceEvent event)
A service has been resolved. Its details are now available in the
ServiceInfo record.
event
- The ServiceEvent providing the name, the fully qualified
type of the service, and the service info record, or null if the service
could not be resolved.