Home / Function/ main() — netty Function Reference

main() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  441654f1_6440_4b47_ee1c_3b183e5c11d7["main()"]
  642c77bf_bd23_2c9c_fc66_b9a48d84eb38["MsgEchoPeerOne"]
  441654f1_6440_4b47_ee1c_3b183e5c11d7 -->|defined in| 642c77bf_bd23_2c9c_fc66_b9a48d84eb38
  9a689337_fbdc_679b_2c79_8e356238b1a4["MsgEchoPeerOne()"]
  441654f1_6440_4b47_ee1c_3b183e5c11d7 -->|calls| 9a689337_fbdc_679b_2c79_8e356238b1a4
  style 441654f1_6440_4b47_ee1c_3b183e5c11d7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

    public static void main(final String[] args) throws Exception {
        final int messageSize = 64 * 1024;
        final InetSocketAddress self = SocketUtils.socketAddress(Config.hostOne, Config.portOne);
        final InetSocketAddress peer = SocketUtils.socketAddress(Config.hostTwo, Config.portTwo);
        new MsgEchoPeerOne(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/MsgEchoPeerOne.java.
Where is main() defined?
main() is defined in example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerOne.java at line 34.
What does main() call?
main() calls 1 function(s): MsgEchoPeerOne.

Analyze Your Own Codebase

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

Try Supermodel Free