Package org.yamcs.client.filetransfer
Class FileTransferClient
java.lang.Object
org.yamcs.client.filetransfer.FileTransferClient
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFileTransferClient
(YamcsClient baseClient, String instance, String serviceName) -
Method Summary
Modifier and TypeMethodDescriptioncancel
(long id) Cancel an on-going file transferInitiate file downloadgetTransfer
(long id) List the on-going file transferspause
(long id) Pause an on-going file transferresume
(long id) Resume an on-going file transferupload
(ObjectId source, String remotePath, FileTransferClient.UploadOptions.UploadOption... options) Initiate file uploadupload
(ObjectId source, FileTransferClient.UploadOptions.UploadOption... options)
-
Constructor Details
-
FileTransferClient
-
-
Method Details
-
getInstance
-
listTransfers
List the on-going file transfers- Returns:
-
getTransfer
-
upload
public CompletableFuture<TransferInfo> upload(ObjectId source, FileTransferClient.UploadOptions.UploadOption... options) -
upload
public CompletableFuture<TransferInfo> upload(ObjectId source, String remotePath, FileTransferClient.UploadOptions.UploadOption... options) Initiate file upload -
download
Initiate file download -
pause
Pause an on-going file transfer -
resume
Resume an on-going file transfer -
cancel
Cancel an on-going file transfer
-