Build 1.0_r1(from source)

android.net.http
Class ConnectionThread

java.lang.Object
  extended by java.lang.Thread
      extended by android.net.http.ConnectionThread
All Implemented Interfaces:
Runnable

 class ConnectionThread
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  Connection mConnection
           
(package private)  long mCurrentThreadTime
           
(package private)  long mStartThreadTime
           
(package private) static int WAIT_TICK
           
(package private) static int WAIT_TIMEOUT
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ConnectionThread(Context context, int id, RequestQueue.ConnectionManager connectionManager, RequestFeeder requestFeeder)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ConnectionThread

ConnectionThread(Context context,
                 int id,
                 RequestQueue.ConnectionManager connectionManager,
                 RequestFeeder requestFeeder)
Method Detail

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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature