public interface ITransferWebService
| Modifier and Type | Method and Description |
|---|---|
void |
appendChunk(com.cryptshare.api.internal.transfer.artifacts.CSDataHandler data)
Appends a chunk of data for a file that is uploaded.
|
void |
fileComplete(java.lang.String sessionId,
java.lang.String fileId,
java.lang.String fileHash)
Signals the completion of the file upload.
|
void appendChunk(com.cryptshare.api.internal.transfer.artifacts.CSDataHandler data)
throws CryptshareServerException
data - The upload data chunk.CryptshareServerException - If the server reports an error.void fileComplete(java.lang.String sessionId,
java.lang.String fileId,
java.lang.String fileHash)
throws CryptshareServerException
sessionId - The session ID.fileId - The file ID.fileHash - The SHA-1 hash of the file, that is used by the server to check integrity.CryptshareServerException - If the server reports an error.