public class DefaultUcloudClient extends Object implements UcloudClient
| 限定符和类型 | 字段和说明 |
|---|---|
protected UcloudConfig |
config |
| 构造器和说明 |
|---|
DefaultUcloudClient(UcloudConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
GetProjectListResult |
getProductList()
获取项目列表-GetProjectList
|
void |
getProductList(UcloudHandler<GetProjectListResult> handler,
Boolean... asyncFlag)
获取项目列表-GetProjectList (回调)
|
GetRegionResult |
getRegion()
获取地域信息-GetRegion
|
void |
getRegion(UcloudHandler<GetRegionResult> handler,
Boolean... asyncFlag)
获取地域信息-GetRegion (回调)
|
protected UcloudConfig config
public DefaultUcloudClient(UcloudConfig config)
public GetRegionResult getRegion() throws Exception
UcloudClientgetRegion 在接口中 UcloudClientGetRegionResult 结果对象Exception - 出错抛出异常public void getRegion(UcloudHandler<GetRegionResult> handler, Boolean... asyncFlag)
UcloudClientgetRegion 在接口中 UcloudClienthandler - UcloudHandler回调callbackasyncFlag - 是否异步public GetProjectListResult getProductList() throws Exception
UcloudClientgetProductList 在接口中 UcloudClientGetProjectListResult 结果对象Exception - 出错抛出异常public void getProductList(UcloudHandler<GetProjectListResult> handler, Boolean... asyncFlag)
UcloudClientgetProductList 在接口中 UcloudClienthandler - UcloudHandler回调callbackasyncFlag - 是否异步Copyright © 2019. All rights reserved.