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

org.kurento.client.Continuation Maven / Gradle / Ivy

Go to download

Kurento Client The Kurento Client project allows server applications to control media server resources.

There is a newer version: 7.1.0
Show newest version
/**
 * This file is generated with Kurento ktool-rom-processor.
 * Please don't edit. Changes should go to kms-interface-rom and
 * ktool-rom-processor templates.
 */

package org.kurento.client;

/**
 * This interface is to be used in asynchronous calls to the media server.
 *
 * @param 
 *          The data type of the callback´s response in case of successful outcome.
 *
 * @author Luis López ([email protected])
 * @author Ivan Gracia ([email protected])
 * @since 2.0.0
 */
public interface Continuation {

  /**
   * This method is called when the operation succeeds.
   *
   * @param result
   *          The result of the completed operation
   */
  void onSuccess(F result) throws Exception;

  /**
   * This method gets called when the operation fails.
   *
   * @param cause
   *          The cause of the failure
   */
  void onError(Throwable cause) throws Exception;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy