Package javax.jmdns.impl
Class ListenerStatus.ServiceTypeListenerStatus
java.lang.Object
javax.jmdns.impl.ListenerStatus<ServiceTypeListener>
javax.jmdns.impl.ListenerStatus.ServiceTypeListenerStatus
- Enclosing class:
ListenerStatus<T extends EventListener>
public static class ListenerStatus.ServiceTypeListenerStatus
extends ListenerStatus<ServiceTypeListener>
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.jmdns.impl.ListenerStatus
ListenerStatus.ServiceListenerStatus, ListenerStatus.ServiceTypeListenerStatus
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConcurrentMap
<String, String> private static org.slf4j.Logger
Fields inherited from class javax.jmdns.impl.ListenerStatus
ASYNCHRONOUS, SYNCHRONOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
serviceTypeAdded
(ServiceEvent event) A new service type was discovered.(package private) void
A new subtype for the service type was discovered.toString()
Methods inherited from class javax.jmdns.impl.ListenerStatus
equals, getListener, hashCode, isSynchronous
-
Field Details
-
logger
private static org.slf4j.Logger logger -
_addedTypes
-
-
Constructor Details
-
ServiceTypeListenerStatus
- Parameters:
listener
- listener being tracked.synch
- true if that listener can be called asynchronously
-
-
Method Details
-
serviceTypeAdded
A new service type was discovered.- Parameters:
event
- The service event providing the fully qualified type of the service.
-
subTypeForServiceTypeAdded
A new subtype for the service type was discovered.<sub>._sub.<app>.<protocol>.<servicedomain>.<parentdomain>.
- Parameters:
event
- The service event providing the fully qualified type of the service with subtype.
-
toString
- Overrides:
toString
in classListenerStatus<ServiceTypeListener>
-