public class DefaultUcloudClient extends Object implements UcloudClient
| Modifier and Type | Field and Description |
|---|---|
protected UcloudConfig |
config |
| Constructor and Description |
|---|
DefaultUcloudClient(UcloudConfig config) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface UcloudClientGetRegionResult 结果对象Exception - 出错抛出异常public void getRegion(UcloudHandler<GetRegionResult> handler, Boolean... asyncFlag)
UcloudClientgetRegion in interface UcloudClienthandler - UcloudHandler回调callbackasyncFlag - 是否异步public GetProjectListResult getProductList() throws Exception
UcloudClientgetProductList in interface UcloudClientGetProjectListResult 结果对象Exception - 出错抛出异常public void getProductList(UcloudHandler<GetProjectListResult> handler, Boolean... asyncFlag)
UcloudClientgetProductList in interface UcloudClienthandler - UcloudHandler回调callbackasyncFlag - 是否异步Copyright © 2024. All rights reserved.