Android APIs
public class

WaitingThreadAborter

extends Object
java.lang.Object
   ↳ org.apache.http.impl.conn.tsccm.WaitingThreadAborter

Class Overview

A simple class that can interrupt a WaitingThread.

Summary

Public Constructors
WaitingThreadAborter()
Public Methods
void abort()
If a waiting thread has been set, interrupts it.
void setWaitingThread(WaitingThread waitingThread)
Sets the waiting thread.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WaitingThreadAborter ()

Added in API level 1

Public Methods

public void abort ()

Added in API level 1

If a waiting thread has been set, interrupts it.

public void setWaitingThread (WaitingThread waitingThread)

Added in API level 1

Sets the waiting thread. If this has already been aborted, the waiting thread is immediately interrupted.

Parameters
waitingThread The thread to interrupt when aborting.