Uses of Interface
javax.jmdns.ServiceListener
-
Packages that use ServiceListener Package Description javax.jmdns javax.jmdns.impl -
-
Uses of ServiceListener in javax.jmdns
Methods in javax.jmdns with parameters of type ServiceListener Modifier and Type Method Description abstract void
JmDNS. addServiceListener(java.lang.String type, ServiceListener listener)
Listen for services of a given type.void
JmmDNS. addServiceListener(java.lang.String type, ServiceListener listener)
Listen for services of a given type.abstract void
JmDNS. removeServiceListener(java.lang.String type, ServiceListener listener)
Remove listener for services of a given type.void
JmmDNS. removeServiceListener(java.lang.String type, ServiceListener listener)
Remove listener for services of a given type. -
Uses of ServiceListener in javax.jmdns.impl
Classes in javax.jmdns.impl that implement ServiceListener Modifier and Type Class Description private static class
JmDNSImpl.ServiceCollector
Instances of ServiceCollector are used internally to speed up the performance of methodlist(type)
.Fields in javax.jmdns.impl with type parameters of type ServiceListener Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,java.util.List<ServiceListener>>
JmmDNSImpl. _serviceListeners
Holds instances of ServiceListener's.Methods in javax.jmdns.impl with parameters of type ServiceListener Modifier and Type Method Description void
JmDNSImpl. addServiceListener(java.lang.String type, ServiceListener listener)
Listen for services of a given type.private void
JmDNSImpl. addServiceListener(java.lang.String type, ServiceListener listener, boolean synch)
void
JmmDNSImpl. addServiceListener(java.lang.String type, ServiceListener listener)
void
JmDNSImpl. removeServiceListener(java.lang.String type, ServiceListener listener)
Remove listener for services of a given type.void
JmmDNSImpl. removeServiceListener(java.lang.String type, ServiceListener listener)
Constructors in javax.jmdns.impl with parameters of type ServiceListener Constructor Description ServiceListenerStatus(ServiceListener listener, boolean synch)
-