DigitalTwinsImpl.invokeRootLevelCommand 方法
定义
重载
invokeRootLevelCommand(String id, String commandName) |
Invoke a digital twin root level command. Invoke a digital twin root level command.
|
invokeRootLevelCommand(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds) |
Invoke a digital twin root level command. Invoke a digital twin root level command.
|
invokeRootLevelCommand(String id, String commandName)
Invoke a digital twin root level command. Invoke a digital twin root level command.
public Object invokeRootLevelCommand(String id, String commandName)
参数
- id
- String
the String value
- commandName
- String
the String value
返回
the Object object if successful.
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent
- 替代
invokeRootLevelCommand(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)
Invoke a digital twin root level command. Invoke a digital twin root level command.
public Object invokeRootLevelCommand(String id, String commandName, Object payload, Integer connectTimeoutInSeconds, Integer responseTimeoutInSeconds)
参数
- id
- 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 Object object if successful.
例外
thrown if parameters fail the validation
thrown if the request is rejected by server
all other wrapped checked exceptions if the request fails to be sent
- 替代