Home / Function/ main() — netty Function Reference

main() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2566697e_8a17_a1d2_edae_aa81452238f8["main()"]
  4bbfc288_95a1_b359_e25e_57ea8b092582["MsgEchoPeerTwo"]
  2566697e_8a17_a1d2_edae_aa81452238f8 -->|defined in| 4bbfc288_95a1_b359_e25e_57ea8b092582
  a9750c98_bdc7_fd05_9310_d86e5b65506b["MsgEchoPeerTwo()"]
  2566697e_8a17_a1d2_edae_aa81452238f8 -->|calls| a9750c98_bdc7_fd05_9310_d86e5b65506b
  style 2566697e_8a17_a1d2_edae_aa81452238f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerTwo.java lines 34–39

    public static void main(final String[] args) throws Exception {
        final int messageSize = 64 * 1024;
        final InetSocketAddress self = SocketUtils.socketAddress(Config.hostTwo, Config.portTwo);
        final InetSocketAddress peer = SocketUtils.socketAddress(Config.hostOne, Config.portOne);
        new MsgEchoPeerTwo(self, peer, messageSize).run();
    }

Domain

Subdomains

Frequently Asked Questions

What does main() do?
main() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerTwo.java.
Where is main() defined?
main() is defined in example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerTwo.java at line 34.
What does main() call?
main() calls 1 function(s): MsgEchoPeerTwo.

Analyze Your Own Codebase

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

Try Supermodel Free