Home / Function/ main() — netty Function Reference

main() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8c0b63a7_2735_d64e_bc77_a9dd45d25adc["main()"]
  a30c900d_b30d_4468_e407_c4c43db5f7b4["ByteEchoPeerOne"]
  8c0b63a7_2735_d64e_bc77_a9dd45d25adc -->|defined in| a30c900d_b30d_4468_e407_c4c43db5f7b4
  99656cf6_70da_fc2a_0997_4ec9a907eaf5["ByteEchoPeerOne()"]
  8c0b63a7_2735_d64e_bc77_a9dd45d25adc -->|calls| 99656cf6_70da_fc2a_0997_4ec9a907eaf5
  style 8c0b63a7_2735_d64e_bc77_a9dd45d25adc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

Analyze Your Own Codebase

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

Try Supermodel Free