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 java.util.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
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String>
_addedTypes
private static org.slf4j.Logger
logger
-
Fields inherited from class javax.jmdns.impl.ListenerStatus
ASYNCHRONOUS, SYNCHRONOUS
-
-
Constructor Summary
Constructors Constructor Description ServiceTypeListenerStatus(ServiceTypeListener listener, boolean synch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
serviceTypeAdded(ServiceEvent event)
A new service type was discovered.(package private) void
subTypeForServiceTypeAdded(ServiceEvent event)
A new subtype for the service type was discovered.java.lang.String
toString()
-
Methods inherited from class javax.jmdns.impl.ListenerStatus
equals, getListener, hashCode, isSynchronous
-
-
-
-
Constructor Detail
-
ServiceTypeListenerStatus
public ServiceTypeListenerStatus(ServiceTypeListener listener, boolean synch)
- Parameters:
listener
- listener being tracked.synch
- true if that listener can be called asynchronously
-
-
Method Detail
-
serviceTypeAdded
void serviceTypeAdded(ServiceEvent event)
A new service type was discovered.- Parameters:
event
- The service event providing the fully qualified type of the service.
-
subTypeForServiceTypeAdded
void subTypeForServiceTypeAdded(ServiceEvent event)
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
public java.lang.String toString()
- Overrides:
toString
in classListenerStatus<ServiceTypeListener>
-
-