public class DownloadService
extends sila2.org.silastandard.BinaryDownloadGrpc.BinaryDownloadImplBase
| Constructor and Description |
|---|
DownloadService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBinary(sila2.org.silastandard.SiLABinaryTransfer.DeleteBinaryRequest request,
StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.DeleteBinaryResponse> responseObserver)
Delete a Binary Transfer
|
void |
getBinaryInfo(sila2.org.silastandard.SiLABinaryTransfer.GetBinaryInfoRequest request,
StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetBinaryInfoResponse> responseObserver)
Retrieve the binary information linked to a Binary Transfer UUID
|
StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetChunkRequest> |
getChunk(StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetChunkResponse> responseObserver)
Retrieve binary chunk requests sent through the stream
|
public void getBinaryInfo(sila2.org.silastandard.SiLABinaryTransfer.GetBinaryInfoRequest request,
StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetBinaryInfoResponse> responseObserver)
getBinaryInfo in class sila2.org.silastandard.BinaryDownloadGrpc.BinaryDownloadImplBaserequest - Request containing a Binary Transfer UUIDresponseObserver - Response observerpublic StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetChunkRequest> getChunk(StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.GetChunkResponse> responseObserver)
getChunk in class sila2.org.silastandard.BinaryDownloadGrpc.BinaryDownloadImplBaseresponseObserver - The stream response observerpublic void deleteBinary(sila2.org.silastandard.SiLABinaryTransfer.DeleteBinaryRequest request,
StreamObserver<sila2.org.silastandard.SiLABinaryTransfer.DeleteBinaryResponse> responseObserver)
deleteBinary in class sila2.org.silastandard.BinaryDownloadGrpc.BinaryDownloadImplBaserequest - The Binary Transfer UUID to removeresponseObserver - The response observer
If successful return SiLABinaryTransfer.DeleteBinaryResponse
If error return errorCopyright © 2022 SiLA Java Developers. All rights reserved.