AndBase开发框架  1.5.7
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Public 属性 | 静态 Private 属性 | 所有成员列表
com.ab.task.AbThread类 参考
类 com.ab.task.AbThread 继承关系图:

Public 成员函数

 AbThread ()
 
void execute (AbTaskItem item)
 
void run ()
 

Public 属性

AbTaskItem item = null
 

静态 Private 属性

static String TAG = "AbHttpThread"
 
static final boolean D = true
 
static Handler handler
 

详细描述

描述: 数据下载线程.

作者
zhaoqp
日期
2011-11-10
版本
v1.0

构造及析构函数说明

com.ab.task.AbThread.AbThread ( )
inline

构造下载线程队列.

成员函数说明

void com.ab.task.AbThread.execute ( AbTaskItem  item)
inline

开始一个下载任务.

参数
item下载单位
void com.ab.task.AbThread.run ( )
inline

描述:线程运行.

参见
java.lang.Thread::run()

类成员变量说明

final boolean com.ab.task.AbThread.D = true
staticprivate

The Constant D.

Handler com.ab.task.AbThread.handler
staticprivate
初始值:
= new Handler() {
@Override
public void handleMessage(Message msg) {
AbTaskItem item = (AbTaskItem)msg.obj;
item.listener.update();
}
}

下载完成后的消息句柄.

AbTaskItem com.ab.task.AbThread.item = null

下载单位.

String com.ab.task.AbThread.TAG = "AbHttpThread"
staticprivate

The tag.


该类的文档由以下文件生成: