Home / Function/ main() — netty Function Reference

main() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

testsuite-native-image/src/main/java/io/netty/testsuite/svm/HttpNativeServer.java lines 63–75

    public static void main(String[] args) throws Exception {
        for (TransportType value : TransportType.values()) {
            for (AllocatorType allocatorType : AllocatorType.values()) {
                boolean serverStartSucess = testTransport(value, allocatorType);
                System.out.println("Server started with transport type " + value + ": " + serverStartSucess);
                if (!serverStartSucess) {
                    System.exit(1);
                }
            }
        }
        // return the right system exit code to signal success
        System.exit(0);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free