Home / Function/ chooseChannelClass() — netty Function Reference

chooseChannelClass() — netty Function Reference

Architecture documentation for the chooseChannelClass() function in HttpNativeServer.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  c11a7e9d_4a3b_6ccd_5b4d_c1a8a682fae4["chooseChannelClass()"]
  3b94d628_ec03_4964_2e12_08b49e8b8b30["HttpNativeServer"]
  c11a7e9d_4a3b_6ccd_5b4d_c1a8a682fae4 -->|defined in| 3b94d628_ec03_4964_2e12_08b49e8b8b30
  f6ad4c3c_5e38_b874_f209_c0cafcbf4077["testTransport()"]
  f6ad4c3c_5e38_b874_f209_c0cafcbf4077 -->|calls| c11a7e9d_4a3b_6ccd_5b4d_c1a8a682fae4
  style c11a7e9d_4a3b_6ccd_5b4d_c1a8a682fae4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java lines 160–170

    public static Class<? extends Channel> chooseChannelClass(TransportType ioType) {
        if (ioType == TransportType.EPOLL) {
            return EpollSocketChannel.class;
        }

        if (ioType == TransportType.IO_URING) {
            return IoUringSocketChannel.class;
        }

        return NioSocketChannel.class;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does chooseChannelClass() do?
chooseChannelClass() is a function in the netty codebase, defined in testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java.
Where is chooseChannelClass() defined?
chooseChannelClass() is defined in testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java at line 160.
What calls chooseChannelClass()?
chooseChannelClass() is called by 1 function(s): testTransport.

Analyze Your Own Codebase

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

Try Supermodel Free