ContractAPIAmqp 类

定义

public class ContractAPIAmqp extends ProvisioningDeviceClientContract
继承
java.lang.Object
ContractAPIAmqp

继承成员

构造函数

ContractAPIAmqp(ProvisioningDeviceClientConfig provisioningDeviceClientConfig)

This constructor creates an instance of DpsAPIAmqps class and initializes member variables

方法

authenticateWithProvisioningService(RequestData requestData, ResponseCallback responseCallback, Object callbackContext)

Requests hub to authenticate this connection and start the registration process over AMQP

close()

Indicates to close the connection

getRegistrationStatus(RequestData requestData, ResponseCallback responseCallback, Object callbackContext)

Gets the registration status over AMQP

open(RequestData requestData)

Indicates need to open AMQP connection

requestNonceForTPM(RequestData requestData, ResponseCallback responseCallback, Object authorizationCallbackContext)

Requests hub to provide a device key to begin authentication over AMQP (Only for TPM)

适用于