Package org.yamcs.client.cfdp
Class CfdpClient
- java.lang.Object
-
- org.yamcs.client.cfdp.CfdpClient
-
public class CfdpClient extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CfdpClient.UploadOptions
-
Constructor Summary
Constructors Constructor Description CfdpClient(YamcsClient baseClient, String instance, String serviceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<TransferInfo>
download(String remotePath, ObjectId target)
String
getInstance()
CompletableFuture<TransferInfo>
getTransfer(long id)
CompletableFuture<List<TransferInfo>>
listTransfers()
CompletableFuture<TransferInfo>
upload(ObjectId source, String remotePath, CfdpClient.UploadOptions.UploadOption... options)
CompletableFuture<TransferInfo>
upload(ObjectId source, CfdpClient.UploadOptions.UploadOption... options)
-
-
-
Constructor Detail
-
CfdpClient
public CfdpClient(YamcsClient baseClient, String instance, String serviceName)
-
-
Method Detail
-
getInstance
public String getInstance()
-
listTransfers
public CompletableFuture<List<TransferInfo>> listTransfers()
-
getTransfer
public CompletableFuture<TransferInfo> getTransfer(long id)
-
upload
public CompletableFuture<TransferInfo> upload(ObjectId source, CfdpClient.UploadOptions.UploadOption... options)
-
upload
public CompletableFuture<TransferInfo> upload(ObjectId source, String remotePath, CfdpClient.UploadOptions.UploadOption... options)
-
download
public CompletableFuture<TransferInfo> download(String remotePath, ObjectId target)
-
-