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, setRegion
public GsClient(Credential credential, String region)
public GsClient(Credential credential, String region, ClientProfile profile)
public CreateSessionResponse CreateSession(CreateSessionRequest req) throws TencentCloudSDKException
req
- CreateSessionRequestTencentCloudSDKException
public StopGameResponse StopGame(StopGameRequest req) throws TencentCloudSDKException
req
- StopGameRequestTencentCloudSDKException
public TrylockWorkerResponse TrylockWorker(TrylockWorkerRequest req) throws TencentCloudSDKException
req
- TrylockWorkerRequestTencentCloudSDKException
Copyright © 2020. All rights reserved.