接口 ResultCallback<T>
-
- 类型参数:
T- The result type.
public interface ResultCallback<T>Callback that is called once an operation completed.
-
-
方法详细资料
-
onSuccess
void onSuccess(long ssl, T result)Called when the operation completes with the given result.- 参数:
ssl- the SSL instance (SSL *)result- the result.
-
onError
void onError(long ssl, Throwable cause)Called when the operation completes with an error.- 参数:
ssl- the SSL instance (SSL *)cause- the error.
-
-