SvcSelection

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

This document explains without details how to implement a service that chooses by itself (or lets the user decide with a GUI) what other services to connect to.

A Service that implements the SvcSelection Interface (usually by implementing the PickyService? interface from Service.idl) receives in its the callback function foundPartners among other things a list of other services that match its need, together with their attributes.

The service then can use these attributes to decide by itself if it wants to connect to one (or more) of these services.

The foundPartners method gets called

  • any time a new service is available in the network
  • when the service terminates a session with another service

Also note that the attributes "minInstances" and "maxInstances" obviously have no meaning when using this interface.

More Information



Edit | Attach | Refresh | Diffs | More | Revision r1.10 - 23 Mar 2005 - 20:33 - NikolasDoerfler

Lehrstuhl für Computer Aided Medical Procedures & Augmented Reality    rss.gif