Class SSLTask

java.lang.Object
io.netty.internal.tcnative.SSLTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
CertificateCallbackTask, CertificateVerifierTask, SSLPrivateKeyMethodTask

abstract class SSLTask extends Object implements Runnable
A SSL related task that will be returned by SSL.getTask(long).
  • Field Details

    • NOOP

      private static final Runnable NOOP
    • ssl

      private final long ssl
    • returnValue

      private int returnValue
    • complete

      private boolean complete
    • didRun

      protected boolean didRun
  • Constructor Details

    • SSLTask

      protected SSLTask(long ssl)
  • Method Details

    • run

      public final void run()
      Specified by:
      run in interface Runnable
    • run

      protected final void run(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.