Home / Class/ ByteEchoPeerTwo Class — netty Architecture

ByteEchoPeerTwo Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  2afa6f2c_ffcb_ad0f_183e_a6b442372b91["ByteEchoPeerTwo"]
  000654b0_c823_13d8_2229_78c369663530["ByteEchoPeerTwo.java"]
  2afa6f2c_ffcb_ad0f_183e_a6b442372b91 -->|defined in| 000654b0_c823_13d8_2229_78c369663530
  9ce7dc38_36da_c72e_0b4b_8a4d5be83334["ByteEchoPeerTwo()"]
  2afa6f2c_ffcb_ad0f_183e_a6b442372b91 -->|method| 9ce7dc38_36da_c72e_0b4b_8a4d5be83334
  a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51["main()"]
  2afa6f2c_ffcb_ad0f_183e_a6b442372b91 -->|method| a682a09c_8f1c_e3db_5eb7_fbb6e2f39d51

Relationship Graph

Source Code

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

public class ByteEchoPeerTwo extends ByteEchoPeerBase {

    public ByteEchoPeerTwo(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.hostTwo, Config.portTwo);
        final InetSocketAddress peerAddress = SocketUtils.socketAddress(Config.hostOne, Config.portOne);
        new ByteEchoPeerTwo(messageSize, myAddress, peerAddress).run();
    }
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free