next() — netty Function Reference
Architecture documentation for the next() function in DefaultChannelPipelineTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a2eed25d_b7ba_1436_1910_39c9b1477519["next()"] 666d912b_4166_a807_ed10_ba12f328a7b2["DefaultChannelPipelineTest"] a2eed25d_b7ba_1436_1910_39c9b1477519 -->|defined in| 666d912b_4166_a807_ed10_ba12f328a7b2 3ca6ed25_e55f_258b_e4fe_84fa7615ee36["testChannelHandlerContextOrder()"] 3ca6ed25_e55f_258b_e4fe_84fa7615ee36 -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 f39811ce_7177_9ba3_c9fe_79a5805d12bd["testAddHandlerBeforeRegisteredThenRemove()"] f39811ce_7177_9ba3_c9fe_79a5805d12bd -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 71c15ba1_df95_5dc0_4a5f_c8f70021adfb["testAddHandlerBeforeRegisteredThenReplace()"] 71c15ba1_df95_5dc0_4a5f_c8f70021adfb -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 5348f8ab_29b5_dd67_ce7d_5d76d2910d61["testHandlerAddedExceptionFromChildHandlerIsPropagated()"] 5348f8ab_29b5_dd67_ce7d_5d76d2910d61 -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 10a06439_70ba_e1d8_811d_b71f0ca1b9fc["testHandlerRemovedExceptionFromChildHandlerIsPropagated()"] 10a06439_70ba_e1d8_811d_b71f0ca1b9fc -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 86978bbe_8861_3902_7e79_d2656d9e2712["testHandlerAddedThrowsAndRemovedThrowsException()"] 86978bbe_8861_3902_7e79_d2656d9e2712 -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 9964f60c_68fd_2419_4caa_6bb463f9008a["testAddBefore()"] 9964f60c_68fd_2419_4caa_6bb463f9008a -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 37254bbb_7667_cd42_5aef_6f7f1861eedf["testUnorderedEventExecutor()"] 37254bbb_7667_cd42_5aef_6f7f1861eedf -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 742d1502_a015_4367_3664_31df4bc96089["testVoidPromiseNotify()"] 742d1502_a015_4367_3664_31df4bc96089 -->|calls| a2eed25d_b7ba_1436_1910_39c9b1477519 1491e70d_136f_7b0d_c4e5_da398f2eb600["toInt()"] a2eed25d_b7ba_1436_1910_39c9b1477519 -->|calls| 1491e70d_136f_7b0d_c4e5_da398f2eb600 style a2eed25d_b7ba_1436_1910_39c9b1477519 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 2409–2416
private static int next(AbstractChannelHandlerContext ctx) {
AbstractChannelHandlerContext next = ctx.next;
if (next == null) {
return Integer.MAX_VALUE;
}
return toInt(next.name());
}
Domain
Subdomains
Calls
Called By
- testAddBefore()
- testAddHandlerBeforeRegisteredThenRemove()
- testAddHandlerBeforeRegisteredThenReplace()
- testChannelHandlerContextOrder()
- testHandlerAddedExceptionFromChildHandlerIsPropagated()
- testHandlerAddedThrowsAndRemovedThrowsException()
- testHandlerRemovedExceptionFromChildHandlerIsPropagated()
- testUnorderedEventExecutor()
- testVoidPromiseNotify()
Source
Frequently Asked Questions
What does next() do?
next() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is next() defined?
next() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 2409.
What does next() call?
next() calls 1 function(s): toInt.
What calls next()?
next() is called by 9 function(s): testAddBefore, testAddHandlerBeforeRegisteredThenRemove, testAddHandlerBeforeRegisteredThenReplace, testChannelHandlerContextOrder, testHandlerAddedExceptionFromChildHandlerIsPropagated, testHandlerAddedThrowsAndRemovedThrowsException, testHandlerRemovedExceptionFromChildHandlerIsPropagated, testUnorderedEventExecutor, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free