Home / Class/ MsgEchoPeerOne Class — netty Architecture

MsgEchoPeerOne Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  642c77bf_bd23_2c9c_fc66_b9a48d84eb38["MsgEchoPeerOne"]
  e65d6f43_50a5_97b4_b29c_80d2b938c7bd["MsgEchoPeerOne.java"]
  642c77bf_bd23_2c9c_fc66_b9a48d84eb38 -->|defined in| e65d6f43_50a5_97b4_b29c_80d2b938c7bd
  9a689337_fbdc_679b_2c79_8e356238b1a4["MsgEchoPeerOne()"]
  642c77bf_bd23_2c9c_fc66_b9a48d84eb38 -->|method| 9a689337_fbdc_679b_2c79_8e356238b1a4
  441654f1_6440_4b47_ee1c_3b183e5c11d7["main()"]
  642c77bf_bd23_2c9c_fc66_b9a48d84eb38 -->|method| 441654f1_6440_4b47_ee1c_3b183e5c11d7

Relationship Graph

Source Code

example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerOne.java lines 28–40

public class MsgEchoPeerOne extends MsgEchoPeerBase {

    public MsgEchoPeerOne(final InetSocketAddress self, final InetSocketAddress peer, final int messageSize) {
        super(self, peer, messageSize);
    }

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

Frequently Asked Questions

What is the MsgEchoPeerOne class?
MsgEchoPeerOne is a class in the netty codebase, defined in example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerOne.java.
Where is MsgEchoPeerOne defined?
MsgEchoPeerOne is defined in example/src/main/java/io/netty/example/udt/echo/rendezvous/MsgEchoPeerOne.java at line 28.

Analyze Your Own Codebase

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

Try Supermodel Free