public final class DefaultAsyncClient extends Object implements AsyncClient
Main client.
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,String> |
endpointMap |
protected String |
endpointRule |
protected darabonba.core.TeaAsyncHandler |
handler |
protected String |
product |
protected darabonba.core.TeaRequest |
REQUEST |
protected String |
version |
| 限定符 | 构造器和说明 |
|---|---|
protected |
DefaultAsyncClient(darabonba.core.client.ClientConfiguration configuration) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, createprotected final String product
protected final String version
protected final String endpointRule
protected final darabonba.core.TeaRequest REQUEST
protected final darabonba.core.TeaAsyncHandler handler
protected DefaultAsyncClient(darabonba.core.client.ClientConfiguration configuration)
public void close()
close 在接口中 com.aliyun.core.utils.SdkAutoCloseableclose 在接口中 AutoCloseablepublic CompletableFuture<ActiveCaCertificateResponse> activeCaCertificate(ActiveCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
activeCaCertificate 在接口中 AsyncClientrequest - the request parameters of ActiveCaCertificate ActiveCaCertificateRequestpublic CompletableFuture<ActiveDeviceCertificateResponse> activeDeviceCertificate(ActiveDeviceCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
activeDeviceCertificate 在接口中 AsyncClientrequest - the request parameters of ActiveDeviceCertificate ActiveDeviceCertificateRequestpublic CompletableFuture<AddCustomAuthConnectBlackResponse> addCustomAuthConnectBlack(AddCustomAuthConnectBlackRequest request)
addCustomAuthConnectBlack 在接口中 AsyncClientrequest - the request parameters of AddCustomAuthConnectBlack AddCustomAuthConnectBlackRequestpublic CompletableFuture<AddCustomAuthIdentityResponse> addCustomAuthIdentity(AddCustomAuthIdentityRequest request)
addCustomAuthIdentity 在接口中 AsyncClientrequest - the request parameters of AddCustomAuthIdentity AddCustomAuthIdentityRequestpublic CompletableFuture<AddCustomAuthPermissionResponse> addCustomAuthPermission(AddCustomAuthPermissionRequest request)
addCustomAuthPermission 在接口中 AsyncClientrequest - the request parameters of AddCustomAuthPermission AddCustomAuthPermissionRequestpublic CompletableFuture<ApplyTokenResponse> applyToken(ApplyTokenRequest request)
You can call this operation up to 100 times per second per account. If you want to increase the limit, join the DingTalk group 35228338 to contact ApsaraMQ for MQTT technical support.
applyToken 在接口中 AsyncClientrequest - the request parameters of ApplyToken ApplyTokenRequestpublic CompletableFuture<BatchQuerySessionByClientIdsResponse> batchQuerySessionByClientIds(BatchQuerySessionByClientIdsRequest request)
You can call the BatchQuerySessionByClientIds operation up to 100 times per second. For more information, see Limits on QPS.
batchQuerySessionByClientIds 在接口中 AsyncClientrequest - the request parameters of BatchQuerySessionByClientIds BatchQuerySessionByClientIdsRequestpublic CompletableFuture<CloseConnectionResponse> closeConnection(CloseConnectionRequest request)
This API is still in the testing phase and is only available for Professional Edition instances in the Shanghai region. Legacy instances are not supported at this time.
closeConnection 在接口中 AsyncClientrequest - the request parameters of CloseConnection CloseConnectionRequestpublic CompletableFuture<CreateGroupIdResponse> createGroupId(CreateGroupIdRequest request)
Each successful call to the CreateGroupId operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
createGroupId 在接口中 AsyncClientrequest - the request parameters of CreateGroupId CreateGroupIdRequestpublic CompletableFuture<DeleteCaCertificateResponse> deleteCaCertificate(DeleteCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
deleteCaCertificate 在接口中 AsyncClientrequest - the request parameters of DeleteCaCertificate DeleteCaCertificateRequestpublic CompletableFuture<DeleteCustomAuthConnectBlackResponse> deleteCustomAuthConnectBlack(DeleteCustomAuthConnectBlackRequest request)
deleteCustomAuthConnectBlack 在接口中 AsyncClientrequest - the request parameters of DeleteCustomAuthConnectBlack DeleteCustomAuthConnectBlackRequestpublic CompletableFuture<DeleteCustomAuthIdentityResponse> deleteCustomAuthIdentity(DeleteCustomAuthIdentityRequest request)
deleteCustomAuthIdentity 在接口中 AsyncClientrequest - the request parameters of DeleteCustomAuthIdentity DeleteCustomAuthIdentityRequestpublic CompletableFuture<DeleteCustomAuthPermissionResponse> deleteCustomAuthPermission(DeleteCustomAuthPermissionRequest request)
deleteCustomAuthPermission 在接口中 AsyncClientrequest - the request parameters of DeleteCustomAuthPermission DeleteCustomAuthPermissionRequestpublic CompletableFuture<DeleteDeviceCertificateResponse> deleteDeviceCertificate(DeleteDeviceCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
deleteDeviceCertificate 在接口中 AsyncClientrequest - the request parameters of DeleteDeviceCertificate DeleteDeviceCertificateRequestpublic CompletableFuture<DeleteGroupIdResponse> deleteGroupId(DeleteGroupIdRequest request)
Each successful call to the DeleteGroupId operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
deleteGroupId 在接口中 AsyncClientrequest - the request parameters of DeleteGroupId DeleteGroupIdRequestpublic CompletableFuture<DisasterDowngradeResponse> disasterDowngrade(DisasterDowngradeRequest request)
disasterDowngrade 在接口中 AsyncClientrequest - the request parameters of DisasterDowngrade DisasterDowngradeRequestpublic CompletableFuture<DisasterRecoveryResponse> disasterRecovery(DisasterRecoveryRequest request)
disasterRecovery 在接口中 AsyncClientrequest - the request parameters of DisasterRecovery DisasterRecoveryRequestpublic CompletableFuture<GetCaCertificateResponse> getCaCertificate(GetCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
getCaCertificate 在接口中 AsyncClientrequest - the request parameters of GetCaCertificate GetCaCertificateRequestpublic CompletableFuture<GetDeviceCertificateResponse> getDeviceCertificate(GetDeviceCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
getDeviceCertificate 在接口中 AsyncClientrequest - the request parameters of GetDeviceCertificate GetDeviceCertificateRequestpublic CompletableFuture<GetDeviceCredentialResponse> getDeviceCredential(GetDeviceCredentialRequest request)
You can call this operation up to 500 times per second per account. If the limit is exceeded, throttling is triggered. We recommend that you take note of this limit when you call this operation. For more information, see Limits on QPS.
getDeviceCredential 在接口中 AsyncClientrequest - the request parameters of GetDeviceCredential GetDeviceCredentialRequestpublic CompletableFuture<GetRegisterCodeResponse> getRegisterCode(GetRegisterCodeRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
getRegisterCode 在接口中 AsyncClientrequest - the request parameters of GetRegisterCode GetRegisterCodeRequestpublic CompletableFuture<InactivateCaCertificateResponse> inactivateCaCertificate(InactivateCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
inactivateCaCertificate 在接口中 AsyncClientrequest - the request parameters of InactivateCaCertificate InactivateCaCertificateRequestpublic CompletableFuture<InactivateDeviceCertificateResponse> inactivateDeviceCertificate(InactivateDeviceCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
inactivateDeviceCertificate 在接口中 AsyncClientrequest - the request parameters of InactivateDeviceCertificate InactivateDeviceCertificateRequestpublic CompletableFuture<ListCaCertificateResponse> listCaCertificate(ListCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
listCaCertificate 在接口中 AsyncClientrequest - the request parameters of ListCaCertificate ListCaCertificateRequestpublic CompletableFuture<ListDeviceCertificateResponse> listDeviceCertificate(ListDeviceCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
listDeviceCertificate 在接口中 AsyncClientrequest - the request parameters of ListDeviceCertificate ListDeviceCertificateRequestpublic CompletableFuture<ListDeviceCertificateByCaSnResponse> listDeviceCertificateByCaSn(ListDeviceCertificateByCaSnRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
listDeviceCertificateByCaSn 在接口中 AsyncClientrequest - the request parameters of ListDeviceCertificateByCaSn ListDeviceCertificateByCaSnRequestpublic CompletableFuture<ListDeviceCredentialClientIdResponse> listDeviceCredentialClientId(ListDeviceCredentialClientIdRequest request)
listDeviceCredentialClientId 在接口中 AsyncClientrequest - the request parameters of ListDeviceCredentialClientId ListDeviceCredentialClientIdRequestpublic CompletableFuture<ListGroupIdResponse> listGroupId(ListGroupIdRequest request)
Each successful call to the ListGroupId operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
listGroupId 在接口中 AsyncClientrequest - the request parameters of ListGroupId ListGroupIdRequestpublic CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)
listInstances 在接口中 AsyncClientrequest - the request parameters of ListInstances ListInstancesRequestpublic CompletableFuture<ListTagResourcesResponse> listTagResources(ListTagResourcesRequest request)
listTagResources 在接口中 AsyncClientrequest - the request parameters of ListTagResources ListTagResourcesRequestpublic CompletableFuture<QueryCustomAuthConnectBlackResponse> queryCustomAuthConnectBlack(QueryCustomAuthConnectBlackRequest request)
queryCustomAuthConnectBlack 在接口中 AsyncClientrequest - the request parameters of QueryCustomAuthConnectBlack QueryCustomAuthConnectBlackRequestpublic CompletableFuture<QueryCustomAuthIdentityResponse> queryCustomAuthIdentity(QueryCustomAuthIdentityRequest request)
queryCustomAuthIdentity 在接口中 AsyncClientrequest - the request parameters of QueryCustomAuthIdentity QueryCustomAuthIdentityRequestpublic CompletableFuture<QueryCustomAuthPermissionResponse> queryCustomAuthPermission(QueryCustomAuthPermissionRequest request)
queryCustomAuthPermission 在接口中 AsyncClientrequest - the request parameters of QueryCustomAuthPermission QueryCustomAuthPermissionRequestpublic CompletableFuture<QueryMqttTraceDeviceResponse> queryMqttTraceDevice(QueryMqttTraceDeviceRequest request)
Each successful call to the QueryMqttTraceDevice operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
queryMqttTraceDevice 在接口中 AsyncClientrequest - the request parameters of QueryMqttTraceDevice QueryMqttTraceDeviceRequestpublic CompletableFuture<QueryMqttTraceMessageOfClientResponse> queryMqttTraceMessageOfClient(QueryMqttTraceMessageOfClientRequest request)
Each successful call to the QueryMqttTraceMessageOfClient operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
queryMqttTraceMessageOfClient 在接口中 AsyncClientrequest - the request parameters of QueryMqttTraceMessageOfClient QueryMqttTraceMessageOfClientRequestpublic CompletableFuture<QueryMqttTraceMessagePublishResponse> queryMqttTraceMessagePublish(QueryMqttTraceMessagePublishRequest request)
Each successful call to the QueryMqttTraceMessagePublish operation increases the messaging transactions per second (TPS). This affects the billing of your instance. For more information, see Billing rules.
queryMqttTraceMessagePublish 在接口中 AsyncClientrequest - the request parameters of QueryMqttTraceMessagePublish QueryMqttTraceMessagePublishRequestpublic CompletableFuture<QueryMqttTraceMessageSubscribeResponse> queryMqttTraceMessageSubscribe(QueryMqttTraceMessageSubscribeRequest request)
Each successful call to the QueryMqttTraceMessageSubscribe operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
queryMqttTraceMessageSubscribe 在接口中 AsyncClientrequest - the request parameters of QueryMqttTraceMessageSubscribe QueryMqttTraceMessageSubscribeRequestpublic CompletableFuture<QuerySessionByClientIdResponse> querySessionByClientId(QuerySessionByClientIdRequest request)
You can call this operation up to 500 times per second.**** For more information, see Limits on QPS.
querySessionByClientId 在接口中 AsyncClientrequest - the request parameters of QuerySessionByClientId QuerySessionByClientIdRequestpublic CompletableFuture<QueryTokenResponse> queryToken(QueryTokenRequest request)
You can call this operation up to 100 times per second per account. If you want to increase the limit, join the DingTalk group 35228338 to contact ApsaraMQ for MQTT technical support.
queryToken 在接口中 AsyncClientrequest - the request parameters of QueryToken QueryTokenRequestpublic CompletableFuture<RefreshDeviceCredentialResponse> refreshDeviceCredential(RefreshDeviceCredentialRequest request)
You can call this operation up to 500 times per second per account. If the limit is exceeded, throttling is triggered. This may affect your business. We recommend that you take note of this limit when you call this operation. For more information, see Limits on QPS.
Each successful call to the RefreshDeviceCredential operation increases the messaging transactions per second (TPS) by one. This affects the billing of your instance. For more information, see Billing rules.
refreshDeviceCredential 在接口中 AsyncClientrequest - the request parameters of RefreshDeviceCredential RefreshDeviceCredentialRequestpublic CompletableFuture<RegisterCaCertificateResponse> registerCaCertificate(RegisterCaCertificateRequest request)
Only ApsaraMQ for MQTT Enterprise Platinum Edition instances support this operation.
registerCaCertificate 在接口中 AsyncClientrequest - the request parameters of RegisterCaCertificate RegisterCaCertificateRequestpublic CompletableFuture<RegisterDeviceCredentialResponse> registerDeviceCredential(RegisterDeviceCredentialRequest request)
You can call this operation up to 500 times per second per account. If the limit is exceeded, throttling is triggered. This may affect your business. We recommend that you take note of this limit when you call this operation. For more information, see Limits on QPS.
registerDeviceCredential 在接口中 AsyncClientrequest - the request parameters of RegisterDeviceCredential RegisterDeviceCredentialRequestpublic CompletableFuture<RevokeTokenResponse> revokeToken(RevokeTokenRequest request)
You can call this operation up to 5 times per second per account. If you want to increase the limit, join the DingTalk group 35228338 to contact ApsaraMQ for MQTT technical support.
revokeToken 在接口中 AsyncClientrequest - the request parameters of RevokeToken RevokeTokenRequestpublic CompletableFuture<SendMessageResponse> sendMessage(SendMessageRequest request)
The SendMessage operation is called by an application on a cloud server. This operation is complementary to the operation that is called to send a message from an ApsaraMQ for MQTT client. For information about the differences between the scenarios of sending messages from applications on cloud servers and the scenarios of sending messages from ApsaraMQ for MQTT clients, see Developer guide.
sendMessage 在接口中 AsyncClientrequest - the request parameters of SendMessage SendMessageRequestpublic CompletableFuture<SetSniConfigResponse> setSniConfig(SetSniConfigRequest request)
setSniConfig 在接口中 AsyncClientrequest - the request parameters of SetSniConfig SetSniConfigRequestpublic CompletableFuture<TagResourcesResponse> tagResources(TagResourcesRequest request)
tagResources 在接口中 AsyncClientrequest - the request parameters of TagResources TagResourcesRequestpublic CompletableFuture<UnRegisterDeviceCredentialResponse> unRegisterDeviceCredential(UnRegisterDeviceCredentialRequest request)
You can call this operation up to 500 times per second per account. If the limit is exceeded, throttling is triggered. This may affect your business. We recommend that you take note of this limit when you call this operation. For more information, see Limits on QPS.
unRegisterDeviceCredential 在接口中 AsyncClientrequest - the request parameters of UnRegisterDeviceCredential UnRegisterDeviceCredentialRequestpublic CompletableFuture<UntagResourcesResponse> untagResources(UntagResourcesRequest request)
untagResources 在接口中 AsyncClientrequest - the request parameters of UntagResources UntagResourcesRequestpublic CompletableFuture<UpdateCustomAuthIdentityResponse> updateCustomAuthIdentity(UpdateCustomAuthIdentityRequest request)
updateCustomAuthIdentity 在接口中 AsyncClientrequest - the request parameters of UpdateCustomAuthIdentity UpdateCustomAuthIdentityRequestpublic CompletableFuture<UpdateCustomAuthPermissionResponse> updateCustomAuthPermission(UpdateCustomAuthPermissionRequest request)
updateCustomAuthPermission 在接口中 AsyncClientrequest - the request parameters of UpdateCustomAuthPermission UpdateCustomAuthPermissionRequestCopyright © 2025. All rights reserved.