Home / Function/ main() — netty Function Reference

main() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51["main()"]
  2afa6f2c_ffcb_ad0f_183e_a6b442372b91["ByteEchoPeerTwo"]
  a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51 -->|defined in| 2afa6f2c_ffcb_ad0f_183e_a6b442372b91
  9ce7dc38_36da_c72e_0b4b_8a4d5be83334["ByteEchoPeerTwo()"]
  a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51 -->|calls| 9ce7dc38_36da_c72e_0b4b_8a4d5be83334
  style a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerTwo.java lines 39–44

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

Analyze Your Own Codebase

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

Try Supermodel Free