public class BaseClient extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
_baseUrl |
protected com.google.gson.Gson |
_gson |
protected cn.jiguang.common.connection.NativeHttpClient |
_httpClient |
| 构造器和说明 |
|---|
BaseClient(String appkey,
String masterSecret,
cn.jiguang.common.connection.HttpProxy proxy,
JMessageConfig config)
Create a JMessage Base Client
|
protected final cn.jiguang.common.connection.NativeHttpClient _httpClient
protected String _baseUrl
protected com.google.gson.Gson _gson
public BaseClient(String appkey, String masterSecret, cn.jiguang.common.connection.HttpProxy proxy, JMessageConfig config)
appkey - The KEY of one application on JPush.masterSecret - API access secret of the appKey.proxy - The proxy, if there is no proxy, should be null.config - The client configuration. Can use JMessageConfig.getInstance() as default.Copyright © 2017. All Rights Reserved.