|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.engine.Activity
|
+--uk.org.ogsadai.activity.delivery.InputStreamActivity
Create a GDT sink (that can then be connected to and data delivered to by a GDT client, such as the DeliverToGDT activity).
| Field Summary |
| Fields inherited from class uk.org.ogsadai.engine.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
| Constructor Summary | |
InputStreamActivity(org.w3c.dom.Element element)
Constructor |
|
| Method Summary | |
void |
initialise()
This method can be overridden by subclasses to perform any initialisation they require before the process method iterations begin. |
void |
processBlock()
This method takes in data block by block provided by the GDT interface and puts it in the output stream. |
| Methods inherited from class uk.org.ogsadai.engine.Activity |
cleanUp, connectsTo, getActivityConfiguration, getName, getObservableStatus, getProperties, getStatus, hasActivityConfiguration, hasProperties, processFirst, setCompleted, setError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InputStreamActivity(org.w3c.dom.Element element)
throws ActivityUserException,
ActivitySystemException
element -
ActivityUserException
ActivitySystemException| Method Detail |
public void initialise()
throws ActivityUserException
Activityprocess method iterations begin.
This might be used for setting up convenient fields to reference objects
contained in the context. It shouldn't be used for opening resources.
That should be done in processFirst.
initialise in class ActivityActivityUserException - If a user problem prevents the activity from
initialising.Activity.initialise()public void processBlock()
processBlock in class ActivityActivity.processBlock()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||