|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.batchadapter.webservice.BatchFTPWebService
public class BatchFTPWebService
This class is the BatchFTPWebService.
Constructor Summary | |
---|---|
BatchFTPWebService(com.stc.connector.appconn.common.ApplicationConnectionFactory acf,
java.lang.String collabOID,
java.lang.String connName,
java.lang.String etdClassName)
constructor for "manual mode" handling |
|
BatchFTPWebService(java.lang.Object app)
Creates a new instance of BatchFTPWebService |
Method Summary | |
---|---|
PayloadMessage |
get(FTPGetMessage fgmIn)
Gets a file to the PayloadMessage. |
com.stc.connector.appconn.common.ApplicationConnection |
getAC()
|
PayloadMessage |
getIfExists(FTPGetMessage fgmIn)
Gets a file to the PayloadMessage. |
EmptyMessage |
put(FTPPutMessage fpmIn)
Puts a payload to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchFTPWebService(java.lang.Object app)
app
- The application associated with this web service.public BatchFTPWebService(com.stc.connector.appconn.common.ApplicationConnectionFactory acf, java.lang.String collabOID, java.lang.String connName, java.lang.String etdClassName)
acf
- collabOID
- connName
- etdClassName
- Method Detail |
---|
public PayloadMessage get(FTPGetMessage fgmIn) throws java.lang.Exception
fgmIn
- An FTPGetMessage.
The
- exception thrown by the operation.
java.lang.Exception
public PayloadMessage getIfExists(FTPGetMessage fgmIn) throws java.lang.Exception
fgmIn
- An FTPGetMessage.lfrIn
- A LocalFileReadMessage.
The
- exception thrown by the operation.
Reads a file to the PayloadMessage if the target file tested as existing.
The
- exception thrown by the operation.
Note, when a target is tested as existing does not guarantee that
it still exists when it is actually retrieved.
this operation is introduced only to avoid throwing exception
when the target is not available (exists) yet.
so it is supposed to be used to poll the target over and over
until it is available and retrieved;
when target not available, the returned message
holds a null payload, the next hop should know
the semantics of this NULL payload message;
java.lang.Exception
public EmptyMessage put(FTPPutMessage fpmIn) throws java.lang.Exception
fpmIn
- The FTPPutMessage.
The
- exception thrown by the operation.
java.lang.Exception
public com.stc.connector.appconn.common.ApplicationConnection getAC()
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |