uk.org.ogsadai.client.toolkit.activity.delivery
Class AbstractInputStreamActivity

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.activity.RequestComponent
        |
        +--uk.org.ogsadai.client.toolkit.activity.Activity
              |
              +--uk.org.ogsadai.client.toolkit.activity.delivery.AbstractInputStreamActivity
Direct Known Subclasses:
InputStreamActivity

public abstract class AbstractInputStreamActivity
extends Activity

This activity receives data through the DataTransport operations and delivers the data to another activity.

It has no input and one output.

Author:
The OGSA-DAI Project Team

Constructor Summary
AbstractInputStreamActivity()
          Constructs a request to open a DataTransport input.
 
Method Summary
protected  java.lang.String generateXML()
          Generates the XML representing the activity.
abstract  DataTransport getDataTransport()
          Gets a DataTransport object which can be used to push data into the data service where this InputStream is running, via the putFully, putBlock and putClosingBlock DataTransport operations.
 ActivityOutput getOutput()
          Gets the activity's only output.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity
addInput, addOutput, addOutputs, getDataResourceID, getDataServiceStub, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setDataServiceStub, setInput
 
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInputStreamActivity

public AbstractInputStreamActivity()
Constructs a request to open a DataTransport input.

Method Detail

getOutput

public ActivityOutput getOutput()
Gets the activity's only output.

Returns:
the activity output.

getDataTransport

public abstract DataTransport getDataTransport()
Gets a DataTransport object which can be used to push data into the data service where this InputStream is running, via the putFully, putBlock and putClosingBlock DataTransport operations.

Returns:
the DataTransport object which can be used to push data into the data service.

generateXML

protected java.lang.String generateXML()
Description copied from class: RequestComponent
Generates the XML representing the activity. This XML can then be inserted into a perform document that is sent to a data service.

Specified by:
generateXML in class Activity
Returns:
the XML for the activity
See Also:
Activity.generateXML()