Package io.netty.internal.tcnative
Interface ResultCallback<T>
- Type Parameters:
T
- The result type.
public interface ResultCallback<T>
Callback that is called once an operation completed.
-
Method Summary
-
Method Details
-
onSuccess
Called when the operation completes with the given result.- Parameters:
ssl
- the SSL instance (SSL *)result
- the result.
-
onError
Called when the operation completes with an error.- Parameters:
ssl
- the SSL instance (SSL *)cause
- the error.
-