Class SslHandler.SslTasksRunner

java.lang.Object
io.netty.handler.ssl.SslHandler.SslTasksRunner
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SslHandler

private final class SslHandler.SslTasksRunner extends java.lang.Object implements java.lang.Runnable
Runnable that will be scheduled on the delegatedTaskExecutor and will take care of resume work on the EventExecutor once the task was executed.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
     
    private final java.lang.Runnable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SslTasksRunner(boolean inUnwrap)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    handleException(java.lang.Throwable cause)
     
    private void
    Executed after the wrapped task was executed via delegatedTaskExecutor to resume work on the EventExecutor.
    void
    run()
     
    (package private) void
     
    private void
    safeExceptionCaught(java.lang.Throwable cause)
     
    private void
    taskError(java.lang.Throwable e)
     
    private void
     
    private java.lang.Throwable
    wrapIfNeeded(java.lang.Throwable cause)
     

    Methods inherited from class java.lang.Object

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

    • inUnwrap

      private final boolean inUnwrap
    • runCompleteTask

      private final java.lang.Runnable runCompleteTask
  • Constructor Details

    • SslTasksRunner

      SslTasksRunner(boolean inUnwrap)
  • Method Details

    • taskError

      private void taskError(java.lang.Throwable e)
    • safeExceptionCaught

      private void safeExceptionCaught(java.lang.Throwable cause)
    • wrapIfNeeded

      private java.lang.Throwable wrapIfNeeded(java.lang.Throwable cause)
    • tryDecodeAgain

      private void tryDecodeAgain()
    • resumeOnEventExecutor

      private void resumeOnEventExecutor()
      Executed after the wrapped task was executed via delegatedTaskExecutor to resume work on the EventExecutor.
    • runComplete

      void runComplete()
    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
    • handleException

      private void handleException(java.lang.Throwable cause)