ch.ethz.iks.r_osgi
Interface RemoteServiceListener

All Superinterfaces:
java.util.EventListener

public interface RemoteServiceListener
extends java.util.EventListener

The RemoteServiceListener interface is used by applications to register for remote service events. Has to be registered using the whiteboard pattern.

Since:
1.0
Author:
Jan S. Rellermeyer, ETH Zurich

Field Summary
static java.lang.String FILTER
          Name of the property which denotes the filter for the listener.
static java.lang.String SERVICE_INTERFACES
          Name of the property which denotes the service interfaces in which the listener is interested.
 
Method Summary
 void remoteServiceEvent(RemoteServiceEvent event)
           notify the application that a remote service matching the constraints has caused an event.
 

Field Detail

SERVICE_INTERFACES

static final java.lang.String SERVICE_INTERFACES
Name of the property which denotes the service interfaces in which the listener is interested. Must be set to a String array of fully qualified names of the interfaces.

Since:
0.6
See Also:
Constant Field Values

FILTER

static final java.lang.String FILTER
Name of the property which denotes the filter for the listener. Only events caused by services matching the filter are announced to the listener, if this property is set to a org.osgi.framework.Filter object.

Since:
0.6
See Also:
Constant Field Values
Method Detail

remoteServiceEvent

void remoteServiceEvent(RemoteServiceEvent event)

notify the application that a remote service matching the constraints has caused an event.

Parameters:
event - the RemoteServiceEvent.


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