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

cn.leancloud.livequery.AVLiveQueryConnectionHandler Maven / Gradle / Ivy

package cn.leancloud.livequery;

/**
 * LiveQuery Connection Handler
 */
public interface AVLiveQueryConnectionHandler {
  /**
   * Connection is open
   */
  void onConnectionOpen();

  /**
   * Connection is close
   */
  void onConnectionClose();

  /**
   * Connection failed.
   * @param code error code.
   * @param reason error message.
   */
  void onConnectionError(int code, String reason);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy