uk.org.ogsadai.client.toolkit.activity.delivery
Class DTInputStream
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.RequestComponent
|
+--uk.org.ogsadai.client.toolkit.activity.Activity
|
+--uk.org.ogsadai.client.toolkit.activity.delivery.DTInputStream
- public class DTInputStream
- extends Activity
This activity receives data through a data service's put
operations.
It has no input and one output - the data received.
- Author:
- The OGSA-DAI Project Team
Field Summary |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
Method Summary |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
DataTransport |
getDataTransport()
Gets an object which can be used to push data into the data service which received the request containing this activity. |
ActivityOutput |
getOutput()
Gets the activity's only output - the data received. |
Session |
getSession()
Gets the session that the request to which this request component belongs has been executed within. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
Copyright statement
- See Also:
- Constant Field Values
DTInputStream
public DTInputStream()
-
Constructor.
getOutput
public ActivityOutput getOutput()
-
Gets the activity's only output - the data received.
-
- Returns:
- the activity output.
getDataTransport
public DataTransport getDataTransport()
-
Gets an object which can be used to push data into the data service which received the request containing this activity. Note that this method must not be invoked before the response to the request containing this activity has been received.
-
- Returns:
DataTransport
object.
- Throws:
java.lang.IllegalStateException
- If invoked before the response for the request containing this activity has been received.
getSession
public Session getSession()
- Description copied from class:
RequestComponent
-
Gets the session that the request to which this request component belongs has been executed within.
-
- Overrides:
getSession
in class RequestComponent
-
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()