run() — netty Function Reference
Architecture documentation for the run() function in DefaultChannelPipelineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2d2a762a_b2a7_b92f_c9a9_231778acb218["run()"] e2ce813e_9e4d_b9b0_bd6e_ef5efb4d4ec4["TestTask"] 2d2a762a_b2a7_b92f_c9a9_231778acb218 -->|defined in| e2ce813e_9e4d_b9b0_bd6e_ef5efb4d4ec4 48a8e24e_c1b6_dcf1_84e3_ee1660109d73["testThrowInExceptionCaught()"] 48a8e24e_c1b6_dcf1_84e3_ee1660109d73 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 ed76dd35_c621_c934_2ef4_99b1d354644d["testThrowInOtherHandlerAfterInvokedFromExceptionCaught()"] ed76dd35_c621_c934_2ef4_99b1d354644d -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 947cc9a8_edbb_fa65_8230_7ec40336d22b["testLifeCycleAwareness()"] 947cc9a8_edbb_fa65_8230_7ec40336d22b -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 be423cca_b631_038c_a618_d5ad4dd6d69f["testRemoveAndForwardInbound()"] be423cca_b631_038c_a618_d5ad4dd6d69f -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 50d1857b_2518_9450_f89e_7c098287de15["testRemoveAndForwardOutbound()"] 50d1857b_2518_9450_f89e_7c098287de15 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 250bc6db_a127_a5e7_e0ad_3bc40c367135["testReplaceAndForwardOutbound()"] 250bc6db_a127_a5e7_e0ad_3bc40c367135 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 caec5c66_8d6b_6702_82aa_93ddf0a5c191["testReplaceAndForwardInboundAndOutbound()"] caec5c66_8d6b_6702_82aa_93ddf0a5c191 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 ceb0f418_74cc_d479_5098_f8c021810ef1["testRemoveAndForwardInboundOutbound()"] ceb0f418_74cc_d479_5098_f8c021810ef1 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 86978bbe_8861_3902_7e79_d2656d9e2712["testHandlerAddedThrowsAndRemovedThrowsException()"] 86978bbe_8861_3902_7e79_d2656d9e2712 -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 64e2dc51_466a_c1e7_2efe_42bfee4417bd["testHandlerRemovedOnlyCalledWhenHandlerAddedCalled()"] 64e2dc51_466a_c1e7_2efe_42bfee4417bd -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 07d6185b_d7d0_70e9_58d9_c9f8cef6372f["handlerAddedStateUpdatedBeforeHandlerAddedDone()"] 07d6185b_d7d0_70e9_58d9_c9f8cef6372f -->|calls| 2d2a762a_b2a7_b92f_c9a9_231778acb218 style 2d2a762a_b2a7_b92f_c9a9_231778acb218 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 2254–2258
@Override
public void run() {
pipeline.addLast(new ChannelInboundHandlerAdapter());
latch.countDown();
}
Domain
Subdomains
Called By
- handlerAddedStateUpdatedBeforeHandlerAddedDone()
- testHandlerAddedThrowsAndRemovedThrowsException()
- testHandlerRemovedOnlyCalledWhenHandlerAddedCalled()
- testLifeCycleAwareness()
- testRemoveAndForwardInbound()
- testRemoveAndForwardInboundOutbound()
- testRemoveAndForwardOutbound()
- testReplaceAndForwardInboundAndOutbound()
- testReplaceAndForwardOutbound()
- testThrowInExceptionCaught()
- testThrowInOtherHandlerAfterInvokedFromExceptionCaught()
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is run() defined?
run() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 2254.
What calls run()?
run() is called by 11 function(s): handlerAddedStateUpdatedBeforeHandlerAddedDone, testHandlerAddedThrowsAndRemovedThrowsException, testHandlerRemovedOnlyCalledWhenHandlerAddedCalled, testLifeCycleAwareness, testRemoveAndForwardInbound, testRemoveAndForwardInboundOutbound, testRemoveAndForwardOutbound, testReplaceAndForwardInboundAndOutbound, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free