All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.rt.command.CommandRequest Maven / Gradle / Ivy

The newest version!
package com.backendless.rt.command;

import com.backendless.rt.MethodTypes;
import com.backendless.rt.RTCallback;
import com.backendless.rt.RTMethodRequest;

public class CommandRequest extends RTMethodRequest
{

  public CommandRequest( MethodTypes methodType, RTCallback callback )
  {
    super( methodType, callback );
  }

  protected CommandRequest setData( Object data )
  {
    putOption( "data", data );
    return this;
  }

  protected CommandRequest setType( String type )
  {
    putOption( "type", type );
    return this;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy