Package javax.jmdns
Interface ServiceTypeListener
-
- All Superinterfaces:
java.util.EventListener
public interface ServiceTypeListener extends java.util.EventListener
Listener for service types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serviceTypeAdded(ServiceEvent event)
A new service type was discovered.void
subTypeForServiceTypeAdded(ServiceEvent event)
A new subtype for the service type was discovered.
-
-
-
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.- Since:
- 3.2.0
-
-