|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.RequestComponent | +--uk.org.ogsadai.client.toolkit.activity.Activity | +--uk.org.ogsadai.client.toolkit.activity.delivery.DeliverFromGFTP
This activity reads data via GridFTP for delivery to another activity.
It has no input and one output - the data read.
Server-side, OGSA-DAI will use the client's GSI credential during the transfer. If no credential is provided then the activity will fail.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.lang.String |
mFile
GridFTP file. |
private java.lang.String |
mHost
GridFTP host. |
private int |
mPort
GridFTP port. |
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
Constructor Summary | |
DeliverFromGFTP()
Constructs a request to deliver data from GridFTP to another activity. |
|
DeliverFromGFTP(java.lang.String host,
int port,
java.lang.String file)
Constructs a request to deliver data via GridFTP. |
Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
ActivityOutput |
getOutput()
Gets the activity's only output - the data read. |
void |
setFile(java.lang.String file)
Set the GridFTP file. |
void |
setHost(java.lang.String host)
Set the GridFTP host. |
void |
setPort(int port)
Set the GridFTP port. |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setInput |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getDataService, getName, getSession, setDataService, setSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String mHost
private int mPort
private java.lang.String mFile
Constructor Detail |
public DeliverFromGFTP()
The activity must be configured using the set
methods.
public DeliverFromGFTP(java.lang.String host, int port, java.lang.String file)
The activity providing the input data must be set using
setInput
.
host
- GridFTP host name.port
- GridFTP port number.file
- GridFTP file.
java.lang.IllegalArgumentException
- If host
is null
.
If file
is null
.Method Detail |
public void setHost(java.lang.String host)
host
- GridFTP host name.
java.lang.IllegalArgumentException
- If host
is null
.public void setPort(int port)
port
- GridFTP port number.public void setFile(java.lang.String file)
file
- GridFTP file.
java.lang.IllegalArgumentException
- If file
is null
.public ActivityOutput getOutput()
protected java.lang.String generateXML()
RequestComponent
generateXML
in class Activity
Activity.generateXML()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |