Class SSLTask

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NOOP

        private static final java.lang.Runnable NOOP
      • ssl

        private final long ssl
      • returnValue

        private int returnValue
      • complete

        private boolean complete
      • didRun

        protected boolean didRun
    • Constructor Detail

      • SSLTask

        protected SSLTask​(long ssl)
    • Method Detail

      • run

        public final void run()
        Specified by:
        run in interface java.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.