Home / Class/ ByteEchoPeerOne Class — netty Architecture

ByteEchoPeerOne Class — netty Architecture

Architecture documentation for the ByteEchoPeerOne class in ByteEchoPeerOne.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a30c900d_b30d_4468_e407_c4c43db5f7b4["ByteEchoPeerOne"]
  e4d86804_0ee3_6e51_142a_5b3e0a7bbba0["ByteEchoPeerOne.java"]
  a30c900d_b30d_4468_e407_c4c43db5f7b4 -->|defined in| e4d86804_0ee3_6e51_142a_5b3e0a7bbba0
  99656cf6_70da_fc2a_0997_4ec9a907eaf5["ByteEchoPeerOne()"]
  a30c900d_b30d_4468_e407_c4c43db5f7b4 -->|method| 99656cf6_70da_fc2a_0997_4ec9a907eaf5
  8c0b63a7_2735_d64e_bc77_a9dd45d25adc["main()"]
  a30c900d_b30d_4468_e407_c4c43db5f7b4 -->|method| 8c0b63a7_2735_d64e_bc77_a9dd45d25adc

Relationship Graph

Source Code

example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerOne.java lines 33–45

public class ByteEchoPeerOne extends ByteEchoPeerBase {

    public ByteEchoPeerOne(int messageSize, SocketAddress myAddress, SocketAddress peerAddress) {
        super(messageSize, myAddress, peerAddress);
    }

    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();
    }
}

Frequently Asked Questions

What is the ByteEchoPeerOne class?
ByteEchoPeerOne is a class in the netty codebase, defined in example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerOne.java.
Where is ByteEchoPeerOne defined?
ByteEchoPeerOne is defined in example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerOne.java at line 33.

Analyze Your Own Codebase

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

Try Supermodel Free