Package org.kurento.client
Interface Continuation<F>
-
- Type Parameters:
F
- The data type of the callback´s response in case of successful outcome.
public interface Continuation<F>
This interface is to be used in asynchronous calls to the media server.- Since:
- 2.0.0
- Author:
- Luis López (llopez@gsyc.es), Ivan Gracia (igracia@gsyc.es)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Throwable cause)
This method gets called when the operation fails.void
onSuccess(F result)
This method is called when the operation succeeds.
-