Package io.netty.internal.tcnative
Class SSLTask
- java.lang.Object
-
- io.netty.internal.tcnative.SSLTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
CertificateCallbackTask
,CertificateVerifierTask
,SSLPrivateKeyMethodTask
abstract class SSLTask extends java.lang.Object implements java.lang.Runnable
A SSL related task that will be returned bySSL.getTask(long)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
SSLTask.TaskCallback
-
Field Summary
Fields Modifier and Type Field Description private boolean
complete
protected boolean
didRun
private static java.lang.Runnable
NOOP
private int
returnValue
private long
ssl
-
Constructor Summary
Constructors Modifier Constructor Description protected
SSLTask(long ssl)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
run()
protected void
run(java.lang.Runnable completeCallback)
protected abstract void
runTask(long ssl, SSLTask.TaskCallback callback)
Run the task and return the return value that should be passed back to OpenSSL.
-
-
-
Method Detail
-
run
public final void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
run
protected final void run(java.lang.Runnable completeCallback)
-
runTask
protected abstract void runTask(long ssl, SSLTask.TaskCallback callback)
Run the task and return the return value that should be passed back to OpenSSL.
-
-