org.kurento.client.Continuation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurento-client Show documentation
Show all versions of kurento-client Show documentation
Kurento Client
The Kurento Client project allows server applications to control media server resources.
/**
* 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