Home / Class/ TelnetClientHandler Class — netty Architecture

TelnetClientHandler Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  eee0fc97_0d27_ebe9_3d27_271f9b15af63["TelnetClientHandler"]
  552e7207_aecc_1a6d_08fd_8aefdb49b94a["TelnetClientHandler.java"]
  eee0fc97_0d27_ebe9_3d27_271f9b15af63 -->|defined in| 552e7207_aecc_1a6d_08fd_8aefdb49b94a
  a59ce4c6_91c6_4d4e_a80f_00c20cb7d2e0["channelRead0()"]
  eee0fc97_0d27_ebe9_3d27_271f9b15af63 -->|method| a59ce4c6_91c6_4d4e_a80f_00c20cb7d2e0
  c9e5b5b6_5cd3_b218_f1e5_2a729a9bccd3["exceptionCaught()"]
  eee0fc97_0d27_ebe9_3d27_271f9b15af63 -->|method| c9e5b5b6_5cd3_b218_f1e5_2a729a9bccd3

Relationship Graph

Source Code

example/src/main/java/io/netty/example/telnet/TelnetClientHandler.java lines 25–38

@Sharable
public class TelnetClientHandler extends SimpleChannelInboundHandler<String> {

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.err.println(msg);
    }

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
        cause.printStackTrace();
        ctx.close();
    }
}

Frequently Asked Questions

What is the TelnetClientHandler class?
TelnetClientHandler is a class in the netty codebase, defined in example/src/main/java/io/netty/example/telnet/TelnetClientHandler.java.
Where is TelnetClientHandler defined?
TelnetClientHandler is defined in example/src/main/java/io/netty/example/telnet/TelnetClientHandler.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free