Package com.bitheads.braincloud.comms
Class FileUploader
java.lang.Object
com.bitheads.braincloud.comms.FileUploader
- All Implemented Interfaces:
Runnable
Created by bradleyh on 3/29/2016.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFileUploader(String uploadId, String localPath, String serverUrl, String sessionId, int timeout, int timeoutThreshold) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()longdoubleintintlongvoidrun()voidsetBytesTransferred(long bytes)
-
Constructor Details
-
FileUploader
-
-
Method Details
-
getStatus
-
getUploadId
-
getProgress
public double getProgress() -
getBytesTransferred
public long getBytesTransferred() -
getTotalBytesToTransfer
public long getTotalBytesToTransfer() -
getStatusCode
public int getStatusCode() -
getReasonCode
public int getReasonCode() -
getResponse
-
setBytesTransferred
public void setBytesTransferred(long bytes) -
run
public void run() -
cancel
public void cancel()
-