to top
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.