public interface GXINaturalDataTransferClientBaseObject extends GXIClientBaseObject
GXIClientBaseObject
that
provides the option to perform Natural Data Transfer (NDT) actions.Modifier and Type | Method and Description |
---|---|
void |
confirmCommand()
Confirm the execution of a Natural Data Transfer command.
|
GXNaturalDataTransferDownloadResponse |
continueDownload()
Continues the download process.
|
GXNaturalDataTransferUploadResponse |
continueUpload()
Continues the process of uploading a file.
|
void |
rejectTransfer()
Sends an indication to the host that a transfer process should be
rejected.
|
GXNaturalDataTransferDownloadResponse |
startDownload(GXNaturalDataTransferDownloadRequest request)
Starts the download process.
|
GXNaturalDataTransferUploadResponse |
startUpload(GXNaturalDataTransferUploadRequest request)
Starts the process of uploading a file.
|
executePath, executePath, executeProcedure, executeProcedure, executeProcedure, getPrints, getTable, getTable, getTable, navigateTo, refreshScreen, sendKeys, sendKeys
getApplicationConfig, getScreen, getScreen, getSeqScreenNumber, getSessionID, isReadOnly
GXNaturalDataTransferDownloadResponse startDownload(GXNaturalDataTransferDownloadRequest request) throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
fileType
- Type of downloaded file.
Supported types: com.sabratec.emulation_common.ntc.GXNaturalDataTransferConsts#FORMAT_TYPE_TXT
com.sabratec.emulation_common.ntc.GXNaturalDataTransferConsts#FORMAT_TYPE_CSV
GXNaturalDataTransferException
- when there was a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- when there is a general problemGXNaturalDataTransferDownloadResponse continueDownload() throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
#startDownload()
.GXNaturalDataTransferException
- if there is a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- if there is a general problemGXNaturalDataTransferUploadResponse startUpload(GXNaturalDataTransferUploadRequest request) throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
request
- the upload request detailsGXNaturalDataTransferException
- if there is a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- if there is a general problemGXNaturalDataTransferUploadResponse continueUpload() throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
#startUpload(InputStream)
.GXNaturalDataTransferException
- if there is a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- if there is a general problemvoid rejectTransfer() throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
GXNaturalDataTransferException
- if there is a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- if there is a general problemvoid confirmCommand() throws GXConnectionException, GXNaturalDataTransferException, GXGeneralException
asynchronous
command, the confirmation should be
sent after the command execution started successfully. synchronous
command, the confirmation should be
sent only after the command execution finished successfully.GXNaturalDataTransferException
- if there is a problem with the data transferGXConnectionException
- When connection problems occur between the client
and ApplinX server or the ApplinX server and the host.GXGeneralException
- if there is a general problemCopyright 2021 Software AG. All rights reserved. Use is subject to license terms.