Class Command

java.lang.Object
com.github.lucadruda.iotc.device.Command

public class Command extends Object
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • getPayload

      public String getPayload()
      Returns:
      the payload
    • getRequestId

      public String getRequestId()
      Returns:
      the requestId
    • getResponseObject

      public Object getResponseObject(String message)
      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