ch.ethz.iks.r_osgi.service_discovery
Interface ServiceDiscoveryListener


public interface ServiceDiscoveryListener


Field Summary
static java.lang.String AUTO_FETCH_PROPERTY
          if this property is set (to anything), the service is automatically fetched before the listener is called.
static java.lang.String FILTER_PROPERTY
           
static java.lang.String SERVICE_INTERFACES_PROPERTY
           
 
Method Summary
 void announceService(java.lang.String serviceInterface, URI uri)
          a remote service has been discovered.
 void discardService(java.lang.String serviceInterface, URI uri)
          a previously discovered remote service is no longer reachable.
 

Field Detail

SERVICE_INTERFACES_PROPERTY

static final java.lang.String SERVICE_INTERFACES_PROPERTY
See Also:
Constant Field Values

FILTER_PROPERTY

static final java.lang.String FILTER_PROPERTY
See Also:
Constant Field Values

AUTO_FETCH_PROPERTY

static final java.lang.String AUTO_FETCH_PROPERTY
if this property is set (to anything), the service is automatically fetched before the listener is called.

Since:
0.5
See Also:
Constant Field Values
Method Detail

announceService

void announceService(java.lang.String serviceInterface,
                     URI uri)
a remote service has been discovered.

Parameters:
serviceInterface - the service interface that matched
uri - the URI of the remote service.

discardService

void discardService(java.lang.String serviceInterface,
                    URI uri)
a previously discovered remote service is no longer reachable.

Parameters:
serviceInterface - the service interface.
uri - the URI of the remote service.


Copyright © 2009 IKS, ETH Zurich. All Rights Reserved.