com.backendless.rt.RTSubscription 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;
public class RTSubscription extends AbstractRequest
{
private final SubscriptionNames subscriptionName;
protected RTSubscription( SubscriptionNames subscriptionName, RTCallback callback )
{
super( callback );
if( callback == null )
throw new IllegalArgumentException( "Callback can not be null" );
this.subscriptionName = subscriptionName;
}
@Override
public String getName()
{
return subscriptionName.name();
}
public SubscriptionNames getSubscriptionName()
{
return subscriptionName;
}
@Override
public String toString()
{
return "RTSubscription{" + "id='" + getId() + '\'' + ", callback=" + getCallback() + ", subscriptionName=" + subscriptionName + ", options=" + getOptions() + '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy