public abstract class TransferRunnable
extends java.lang.Thread
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransferRunnable.IProgress |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicBoolean |
cancelRequested |
protected SFApiClient |
mApiClient |
protected SFCookieManager |
mCookieManager |
protected java.lang.String |
mPassword |
protected TransferRunnable.IProgress |
mProgressListener |
protected long |
mTotalBytesTransferredForThisFile |
protected java.lang.String |
mUsername |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
run() |
protected abstract void |
runInThisThread() |
void |
runInThisThread(java.util.concurrent.atomic.AtomicBoolean cancel)
execute Transfer in this thread overriding the cancel signal
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected java.util.concurrent.atomic.AtomicBoolean cancelRequested
protected final SFApiClient mApiClient
protected final TransferRunnable.IProgress mProgressListener
protected final SFCookieManager mCookieManager
protected long mTotalBytesTransferredForThisFile
protected final java.lang.String mUsername
protected final java.lang.String mPassword
protected abstract void runInThisThread()
throws SFSDKException
SFSDKExceptionpublic void runInThisThread(java.util.concurrent.atomic.AtomicBoolean cancel)
throws SFSDKException
cancel - SFSDKExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void cancel()