Package com.github.lucadruda.iotc.device
Class Command
java.lang.Object
com.github.lucadruda.iotc.device.Command
public class Command extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetName()StringgetPayload()StringgetRequestId()ObjectgetResponseObject(String message)
-
Constructor Details
-
Method Details
-
getName
- Returns:
- the name
-
getPayload
- Returns:
- the payload
-
getRequestId
- Returns:
- the requestId
-
getResponseObject
- Parameters:
message- The message to send back as a response for the command- Returns:
- Well-formed object to be sent as a property. The message will appear in the command tile in the application
-