Home / Function/ run() — netty Function Reference

run() — netty Function Reference

Architecture documentation for the run() function in SslHandler.java from the netty codebase.

Function java Buffer Allocators calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  3832f383_3ba5_2efc_b7fe_c77da2d88b3e["run()"]
  4971d882_98ff_3ffd_f66b_31ea649497b3["SslTasksRunner"]
  3832f383_3ba5_2efc_b7fe_c77da2d88b3e -->|defined in| 4971d882_98ff_3ffd_f66b_31ea649497b3
  f0428da0_54a3_9dcb_eefb_1da6c347f719["run()"]
  f0428da0_54a3_9dcb_eefb_1da6c347f719 -->|calls| 3832f383_3ba5_2efc_b7fe_c77da2d88b3e
  f0428da0_54a3_9dcb_eefb_1da6c347f719["run()"]
  3832f383_3ba5_2efc_b7fe_c77da2d88b3e -->|calls| f0428da0_54a3_9dcb_eefb_1da6c347f719
  cb55a9c1_7a30_c86d_8180_17c1a46f16de["runComplete()"]
  3832f383_3ba5_2efc_b7fe_c77da2d88b3e -->|calls| cb55a9c1_7a30_c86d_8180_17c1a46f16de
  8c148524_5863_9fd9_17ef_b36c8e32fd70["handleException()"]
  3832f383_3ba5_2efc_b7fe_c77da2d88b3e -->|calls| 8c148524_5863_9fd9_17ef_b36c8e32fd70
  style 3832f383_3ba5_2efc_b7fe_c77da2d88b3e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/SslHandler.java lines 1941–1959

        @Override
        public void run() {
            try {
                Runnable task = engine.getDelegatedTask();
                if (task == null) {
                    // The task was processed in the meantime. Let's just return.
                    return;
                }
                if (task instanceof AsyncRunnable) {
                    AsyncRunnable asyncTask = (AsyncRunnable) task;
                    asyncTask.run(runCompleteTask);
                } else {
                    task.run();
                    runComplete();
                }
            } catch (final Throwable cause) {
                handleException(cause);
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does run() do?
run() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java.
Where is run() defined?
run() is defined in handler/src/main/java/io/netty/handler/ssl/SslHandler.java at line 1941.
What does run() call?
run() calls 3 function(s): handleException, run, runComplete.
What calls run()?
run() is called by 1 function(s): run.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free