public class GsClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
GsClient(Credential credential,
String region) |
GsClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
CreateSessionResponse |
CreateSession(CreateSessionRequest req)
创建会话
|
StopGameResponse |
StopGame(StopGameRequest req)
强制退出游戏
|
TrylockWorkerResponse |
TrylockWorker(TrylockWorkerRequest req)
尝试锁定机器
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic GsClient(Credential credential, String region)
public GsClient(Credential credential, String region, ClientProfile profile)
public CreateSessionResponse CreateSession(CreateSessionRequest req) throws TencentCloudSDKException
req - CreateSessionRequestTencentCloudSDKExceptionpublic StopGameResponse StopGame(StopGameRequest req) throws TencentCloudSDKException
req - StopGameRequestTencentCloudSDKExceptionpublic TrylockWorkerResponse TrylockWorker(TrylockWorkerRequest req) throws TencentCloudSDKException
req - TrylockWorkerRequestTencentCloudSDKExceptionCopyright © 2020. All rights reserved.