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>
  • Field Details

  • Constructor Details

    • ServiceTypeListenerStatus

      public ServiceTypeListenerStatus(ServiceTypeListener listener, boolean synch)
      Parameters:
      listener - listener being tracked.
      synch - true if that listener can be called asynchronously
  • Method Details

    • 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 String toString()
      Overrides:
      toString in class ListenerStatus<ServiceTypeListener>