com.strangeberry.rendezvous
Interface ServiceListener

All Known Implementing Classes:
Login, NodePowerControls, ServiceBrowser

public interface ServiceListener

Listener for service updates.

Version:
1.4, 02/06/2003
Author:
Arthur van Hoff

Method Summary
 void addService(Rendezvous rendezvous, java.lang.String type, java.lang.String name)
          A service is added.
 void removeService(Rendezvous rendezvous, java.lang.String type, java.lang.String name)
          A service is removed.
 void resolveService(Rendezvous rendezvous, java.lang.String type, java.lang.String name, ServiceInfo info)
          A service is resolved.
 

Method Detail

addService

void addService(Rendezvous rendezvous,
                java.lang.String type,
                java.lang.String name)
A service is added.

Parameters:
type - the fully qualified type of the service
name - the fully qualified name of the service

removeService

void removeService(Rendezvous rendezvous,
                   java.lang.String type,
                   java.lang.String name)
A service is removed.

Parameters:
type - the fully qualified type of the service
name - the fully qualified name of the service

resolveService

void resolveService(Rendezvous rendezvous,
                    java.lang.String type,
                    java.lang.String name,
                    ServiceInfo info)
A service is resolved. Its details are now available in the ServiceInfo record.

Parameters:
type - the fully qualified type of the service
name - the fully qualified name of the service
info - the service info record, or null if the service could be be resolved


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.