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

THIS WEBPAGE IS DEPRECATED - please visit our new website

(work in progress)

In this tutorial we will write a simple Dwarf service that can receive simple text strings.

Assumptions and Prerequesites

Needs and Abilities

Formulated in Needs and Abilities, this means that our service has the Need to recevie strings. We want to receive the strings as Events; therefore we implement the PushConsumer? protocol, more precisely the SvcProtPushConsumer interface.

When we write this in XML, this looks like

   <need name="receivestrings" type="StringData">
      <connector protocol="PushConsumer"/>

The name of our Need, receivestrings, is only used internally. Yust make sure that the name is unique in your on XML file. The type, StringData, needs to be specified as an interface for CORBA.

Our service has no Abilities.

Creating the source files

Adding the service to the build process

Building for the first time

Later we will write another service that will send strings.

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

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