DigitalTwinsImpl.invokeComponentCommandWithServiceResponseAsync 方法
定义
重载
invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName) |
Invoke a digital twin command. Invoke a digital twin command.
|
invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds) |
Invoke a digital twin command. Invoke a digital twin command.
|
invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName)
Invoke a digital twin command. Invoke a digital twin command.
public Observable<ServiceResponseWithHeaders<Object, DigitalTwinInvokeComponentCommandHeaders>> invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName)
参数
- id
- String
the String value
- componentPath
- String
the String value
- commandName
- String
the String value
返回
the observable to the Object object
例外
thrown if parameters fail the validation
- 替代
invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)
Invoke a digital twin command. Invoke a digital twin command.
public Observable<ServiceResponseWithHeaders<Object, DigitalTwinInvokeComponentCommandHeaders>> invokeComponentCommandWithServiceResponseAsync(String id, String componentPath, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)
参数
- id
- String
the String value
- componentPath
- String
the String value
- commandName
- String
the String value
- payload
- Object
the Object value
- connectTimeoutInSeconds
- Integer
Maximum interval of time, in seconds, that the digital twin command will wait for the answer.
- responseTimeoutInSeconds
- Integer
Maximum interval of time, in seconds, that the digital twin command will wait for the answer.
返回
the observable to the Object object
例外
thrown if parameters fail the validation
- 替代