com.backendless.rt.messaging.MessagingCommandRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Provides access to Backendless API
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