ServiceTypeListener
Date: 2017-02-10

javax.jmdns

## Interface ServiceTypeListener

- All Superinterfaces:
    java.util.EventListener

      public interface ServiceTypeListener
      extends java.util.EventListener

  Listener for service types.

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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