android.net.http
Class ConnectionThread
java.lang.Object
java.lang.Thread
android.net.http.ConnectionThread
- All Implemented Interfaces:
- Runnable
class ConnectionThread
- extends Thread
|
Method Summary |
(package private) void |
requestStop()
|
void |
run()
Loop until app shutdown. |
String |
toString()
Returns a string containing a concise, human-readable description of the
receiver. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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, yield |
WAIT_TIMEOUT
static final int WAIT_TIMEOUT
- See Also:
- Constant Field Values
WAIT_TICK
static final int WAIT_TICK
- See Also:
- Constant Field Values
mStartThreadTime
long mStartThreadTime
mCurrentThreadTime
long mCurrentThreadTime
mConnection
Connection mConnection
ConnectionThread
ConnectionThread(Context context,
int id,
RequestQueue.ConnectionManager connectionManager,
RequestFeeder requestFeeder)
requestStop
void requestStop()
run
public void run()
- Loop until app shutdown. Runs connections in priority
order.
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Thread.start()
toString
public String toString()
- Description copied from class:
Thread
- Returns a string containing a concise, human-readable description of the
receiver.
- Overrides:
toString in class Thread
- Returns:
- a printable representation for the receiver.
Please submit a feedback, bug or feature