public class SmsStatusPuller extends SmsBase
appid, appkey, httpclient| Constructor and Description |
|---|
SmsStatusPuller(int appid,
String appkey) |
SmsStatusPuller(int appid,
String appkey,
HTTPClient httpclient) |
| Modifier and Type | Method and Description |
|---|---|
SmsStatusPullCallbackResult |
pullCallback(int max)
拉取回执结果
|
SmsStatusPullReplyResult |
pullReply(int max)
拉取回复信息
|
handleErrorpublic SmsStatusPuller(int appid,
String appkey)
public SmsStatusPuller(int appid,
String appkey,
HTTPClient httpclient)
public SmsStatusPullCallbackResult pullCallback(int max) throws HTTPException, org.json.JSONException, IOException
max - 最大条数, 最多100HTTPException - http status exceptionorg.json.JSONException - json parse exceptionIOException - network problempublic SmsStatusPullReplyResult pullReply(int max) throws HTTPException, org.json.JSONException, IOException
max - 最大条数, 最多100HTTPException - http status exceptionorg.json.JSONException - json parse exceptionIOException - network problemCopyright © 2018. All rights reserved.