|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalFileClient
This class represents the local file client functionality available to the user.
| Method Summary | |
|---|---|
void |
allowTransfer()
|
void |
executePostCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
|
void |
executePostCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
|
void |
executePreCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
|
void |
executePreCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
|
void |
get()
Performs an inbound transfer to the Payload field. |
void |
getIfExists()
Same as get but if there is no file found matching the name pattern given in "Target Directory Name" and "Target File Name", just return siliently; |
com.stc.eways.common.eway.standalone.streaming.InputStreamAdapter |
getInputStreamAdapter()
Gets an InputStreamAdapter which can be used to perform inbound streaming transfers with this LocalFileClient. |
com.stc.eways.common.eway.standalone.streaming.OutputStreamAdapter |
getOutputStreamAdapter()
Gets an OutputStreamAdapter which can be used to perform outbound streaming transfers with this LocalFileClient. |
byte[] |
getPayload()
Gets the content of the Payload field. |
TransferNamesAndCommands |
getResolvedNamesToGet()
Obtains a TransferNamesAndCommands instance, which can be used to get access to the resolved names and commands for the current inbound transfer. |
TransferNamesAndCommands |
getResolvedNamesToPut()
Obtains a TransferNamesAndCommands instance, which can be used to get access to the resolved names and commands for the current outbound transfer. |
boolean |
getResumeReadingInProgress()
Indicates whether there is a 'Resume Reading' operation in progres. |
void |
getTargetDirExists()
Same as get but verify whether target directory is accessible |
void |
initialize(LocalFileETD etd)
|
void |
put()
Performs an outbound transfer from the Payload field. |
boolean |
reset()
Resets the LocalFileClient, so it can be used in subsequent transfers. |
void |
setPayload(byte[] newPayload)
Sets the content of the Payload field. |
void |
undoPreCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
|
void |
undoPreCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
|
void |
undoTransferGet(LocalFileTransferNamesAndCommandsGet tnc)
|
void |
undoTransferPut(LocalFileTransferNamesAndCommandsPut tnc)
|
| Methods inherited from interface com.stc.eways.common.eway.standalone.streaming.InputStreamAdapter |
|---|
releaseInputStream, requestInputStream |
| Methods inherited from interface com.stc.eways.common.eway.standalone.streaming.OutputStreamAdapter |
|---|
releaseOutputStream, requestOutputStream |
| Method Detail |
|---|
void initialize(LocalFileETD etd)
boolean reset()
void allowTransfer()
TransferNamesAndCommands getResolvedNamesToGet()
throws LocalFileException
LocalFileException - If anything goes wrong.
LocalFileException.getNestedException() can be used to retrieve the
original exception that caused the failure, if any.
TransferNamesAndCommands getResolvedNamesToPut()
throws LocalFileException
LocalFileException - If anything goes wrong.
LocalFileException.getNestedException() can be used to retrieve the
original exception that caused the failure, if any.byte[] getPayload()
void setPayload(byte[] newPayload)
newPayload - The new Payload content.com.stc.eways.common.eway.standalone.streaming.InputStreamAdapter getInputStreamAdapter()
com.stc.eways.common.eway.standalone.streaming.OutputStreamAdapter getOutputStreamAdapter()
void get()
throws LocalFileException
LocalFileException - If anything goes wrong.
LocalFileException.getNestedException() can be used to retrieve the
original exception that caused the failure, if any.
void getIfExists()
throws LocalFileException
FtpFileException - If some error occurs.
LocalFileException
void getTargetDirExists()
throws LocalFileException
LocalFileException
void put()
throws LocalFileException
LocalFileException - If anything goes wrong.
LocalFileException.getNestedException() can be used to retrieve the
original exception that caused the failure, if any.boolean getResumeReadingInProgress()
void executePreCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void undoPreCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void executePostCommandGet(LocalFileTransferNamesAndCommandsGet tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void undoTransferGet(LocalFileTransferNamesAndCommandsGet tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void executePreCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void undoPreCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void executePostCommandPut(LocalFileTransferNamesAndCommandsPut tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
void undoTransferPut(LocalFileTransferNamesAndCommandsPut tnc)
throws LocalFileException,
BatchException
LocalFileException
BatchException
|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||