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.RunnableA SSL related task that will be returned bySSL.getTask(long).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceSSLTask.TaskCallback
-
Field Summary
Fields Modifier and Type Field Description private booleancompleteprotected booleandidRunprivate static java.lang.RunnableNOOPprivate intreturnValueprivate longssl
-
Constructor Summary
Constructors Modifier Constructor Description protectedSSLTask(long ssl)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidrun()protected voidrun(java.lang.Runnable completeCallback)protected abstract voidrunTask(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:
runin 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.
-
-