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

com.backendless.rt.RTClient Maven / Gradle / Ivy

There is a newer version: 7.0-alpha
Show newest version
package com.backendless.rt;

import com.backendless.async.callback.Fault;
import com.backendless.async.callback.Result;

public interface RTClient
{
  void subscribe( RTSubscription subscription );

  void unsubscribe( String subscriptionId );

  void userLoggedIn( String userToken );

  void userLoggedOut();

  void invoke( RTMethodRequest methodRequest );

  void setConnectEventListener( Result callback );

  void setReconnectAttemptEventListener( Result callback );

  void setConnectErrorEventListener( Fault fault );

  void setDisconnectEventListener( Result callback );

  boolean isConnected();

  void connect();

  void disconnect();

  boolean isAvailable();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy