Top Description Methods
io.netty.internal.tcnative

public Interface ResultCallback<T>

Type Parameters
<T>
The result type.

Callback that is called once an operation completed.

Method Summary

Modifier and TypeMethod and Description
public void
onError(long
the SSL instance (SSL *)
ssl
,
Throwable
the error.
cause
)

Called when the operation completes with an error.

public void
onSuccess(long
the SSL instance (SSL *)
ssl
,
T
the result.
result
)

Called when the operation completes with the given result.

Method Detail

onErrorback to summary
public void onError(long ssl, Throwable cause)

Called when the operation completes with an error.

Parameters
ssl:long

the SSL instance (SSL *)

cause:Throwable

the error.

onSuccessback to summary
public void onSuccess(long ssl, T result)

Called when the operation completes with the given result.

Parameters
ssl:long

the SSL instance (SSL *)

result:T

the result.