AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
| Public 成员函数 | Protected 成员函数 | 静态 Protected 属性 | Private 属性 | 所有成员列表
com.ab.soap.AbSoapListener类 参考abstract

class  SoapResponderHandler
 

Public 成员函数

 AbSoapListener ()
 
abstract void onSuccess (int statusCode, String content)
 
abstract void onFailure (int statusCode, String content, Throwable error)
 
void onStart ()
 
void onFinish ()
 
void sendStartMessage ()
 
void sendFinishMessage ()
 
void sendFailureMessage (int statusCode, String content, Throwable error)
 
void sendSuccessMessage (int statusCode, String content)
 
void sendMessage (Message msg)
 

Protected 成员函数

Message obtainMessage (int responseMessage, Object response)
 

静态 Protected 属性

static final int SUCCESS_MESSAGE = 0
 
static final int FAILURE_MESSAGE = 1
 
static final int START_MESSAGE = 4
 
static final int FINISH_MESSAGE = 5
 
static final int PROGRESS_MESSAGE = 6
 

Private 属性

Handler mHandler
 

详细描述

© 2012 amsoft.cn 名称:AbSoapListener.java 描述:Soap执行监听器

作者
还如一梦中
版本
v1.0
日期
:2014-10-27 下午15:28:55

构造及析构函数说明

com.ab.soap.AbSoapListener.AbSoapListener ( )
inline

Instantiates a new ab soap listener.

成员函数说明

Message com.ab.soap.AbSoapListener.obtainMessage ( int  responseMessage,
Object  response 
)
inlineprotected

构造Message.

参数
responseMessagethe response message
responsethe response
返回
the message
abstract void com.ab.soap.AbSoapListener.onFailure ( int  statusCode,
String  content,
Throwable  error 
)
abstract

描述:失败,调用.

参数
statusCodethe status code
contentthe content
errorthe error
void com.ab.soap.AbSoapListener.onFinish ( )
inline

完成后调用,失败,成功,调用.

void com.ab.soap.AbSoapListener.onStart ( )
inline

描述:获取数据开始.

abstract void com.ab.soap.AbSoapListener.onSuccess ( int  statusCode,
String  content 
)
abstract

描述:获取数据成功会调用这里.

参数
statusCodethe status code
contentthe content
void com.ab.soap.AbSoapListener.sendFailureMessage ( int  statusCode,
String  content,
Throwable  error 
)
inline

失败消息.

参数
statusCodethe status code
contentthe content
errorthe error
void com.ab.soap.AbSoapListener.sendFinishMessage ( )
inline

完成消息.

void com.ab.soap.AbSoapListener.sendMessage ( Message  msg)
inline

发送消息.

参数
msgthe msg
void com.ab.soap.AbSoapListener.sendStartMessage ( )
inline

开始消息.

void com.ab.soap.AbSoapListener.sendSuccessMessage ( int  statusCode,
String  content 
)
inline

Send success message.

参数
statusCodethe status code
contentthe content

类成员变量说明

final int com.ab.soap.AbSoapListener.FAILURE_MESSAGE = 1
staticprotected

失败.

final int com.ab.soap.AbSoapListener.FINISH_MESSAGE = 5
staticprotected

完成.

Handler com.ab.soap.AbSoapListener.mHandler
private

The m handler.

final int com.ab.soap.AbSoapListener.PROGRESS_MESSAGE = 6
staticprotected

进行中.

final int com.ab.soap.AbSoapListener.START_MESSAGE = 4
staticprotected

开始.

final int com.ab.soap.AbSoapListener.SUCCESS_MESSAGE = 0
staticprotected

成功.


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