Activity Type: Example
This activity demonstrates the use of an external input. An input stream is created, a number of integer blocks that will be written to the stream is specified, the activity sums these and outputs the total.
The activity has one dynamically generated input upon which a specific number of integer blocks are received and summed. The activity has one output - the sum of the values of each block.
<demoExternalInput name="externalInput"> <nInputBlocks value="4"/> <streamName value="input"/> <myOutput name="output"/> </demoExternalInput>
Element demoExternalInput:
This activity can operate with any data resource accessor.
OGSA-DAI/schema/ogsadai/xsd/activities/demo_external_input.xsd
uk.org.ogsadai.activity.examples.DemoExternalInputActivity
uk.org.ogsadai.client.toolkit.activity.examples.DemoExternalInput
Up: Activities | ||
© International Business Machines Corporation, 2002-2006. | © The University of Edinburgh, 2002-2006. |