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

com.backendless.rt.messaging.MessagingCommandRequest Maven / Gradle / Ivy

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


import com.backendless.rt.MethodTypes;
import com.backendless.rt.RTCallback;
import com.backendless.rt.command.CommandRequest;

class MessagingCommandRequest extends CommandRequest
{
  MessagingCommandRequest( String channel, RTCallback callback )
  {
    super( MethodTypes.PUB_SUB_COMMAND, callback );
    putOption( "channel", channel );
  }

  @Override
  protected MessagingCommandRequest setData( Object data )
  {
    super.setData( data );
    return this;
  }

  @Override
  protected MessagingCommandRequest setType( String type )
  {
    super.setType( type );
    return this;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy