T - The result type.public interface ResultCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onError(long ssl,
Throwable cause)
Called when the operation completes with an error.
|
void |
onSuccess(long ssl,
T result)
Called when the operation completes with the given result.
|
void onSuccess(long ssl,
T result)
ssl - the SSL instance (SSL *)result - the result.void onError(long ssl,
Throwable cause)
ssl - the SSL instance (SSL *)cause - the error.Copyright © 2023 The Netty Project. All rights reserved.