org.apache.activemq.jmdns
Interface ServiceListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
RendezvousDiscoveryAgent

public interface ServiceListener
extends java.util.EventListener

Listener for service updates.

Version:
%I%, %G%
Author:
Arthur van Hoff, Werner Randelshofer

Method Summary
 void serviceAdded(ServiceEvent event)
          A service has been added.
 void serviceRemoved(ServiceEvent event)
          A service has been removed.
 void serviceResolved(ServiceEvent event)
          A service has been resolved.
 

Method Detail

serviceAdded

void serviceAdded(ServiceEvent event)
A service has been added.

Parameters:
event - The ServiceEvent providing the name and fully qualified type of the service.

serviceRemoved

void serviceRemoved(ServiceEvent event)
A service has been removed.

Parameters:
event - The ServiceEvent providing the name and fully qualified type of the service.

serviceResolved

void serviceResolved(ServiceEvent event)
A service has been resolved. Its details are now available in the ServiceInfo record.

Parameters:
event - The ServiceEvent providing the name, the fully qualified type of the service, and the service info record, or null if the service could not be resolved.


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.