public static class CapabilityRemoteControl.ExecuteCommand<T extends Command<? extends Capability.CommandId>> extends Command<CapabilityRemoteControl.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>) to execute remote control commands.Command.State| Constructor and Description |
|---|
ExecuteCommand(java.lang.String applianceId,
Capability.CapabilityId capabilityId,
T command)
Constructor for Execute command.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplianceId()
A function to get
applianceId. |
Capability.CapabilityId |
getCapabilityId()
A function to get
capabilityId. |
T |
getCommand()
A function to get
command. |
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toStringpublic ExecuteCommand(java.lang.String applianceId,
Capability.CapabilityId capabilityId,
T command)
applianceId - String id of the appliance which executes commandcapabilityId - CapabilityID of the recipient devicecommand - Command which has to be executedpublic java.lang.String getApplianceId()
applianceId.public Capability.CapabilityId getCapabilityId()
capabilityId.