Home / Class/ SocksCommonTestUtils Class — netty Architecture

SocksCommonTestUtils Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  681edca2_8026_9730_676e_185a66fdac75["SocksCommonTestUtils"]
  89ee8c86_6cda_0cf6_4592_8e7c0c41a8e3["SocksCommonTestUtils.java"]
  681edca2_8026_9730_676e_185a66fdac75 -->|defined in| 89ee8c86_6cda_0cf6_4592_8e7c0c41a8e3
  c14d4c2d_44ae_4d74_df98_3b6fb0033cbc["SocksCommonTestUtils()"]
  681edca2_8026_9730_676e_185a66fdac75 -->|method| c14d4c2d_44ae_4d74_df98_3b6fb0033cbc
  44206074_f48c_3916_7e39_ea54408fea83["writeMessageIntoEmbedder()"]
  681edca2_8026_9730_676e_185a66fdac75 -->|method| 44206074_f48c_3916_7e39_ea54408fea83

Relationship Graph

Source Code

codec-socks/src/test/java/io/netty/handler/codec/socks/SocksCommonTestUtils.java lines 22–36

final class SocksCommonTestUtils {
    /**
     * A constructor to stop this class being constructed.
     */
    private SocksCommonTestUtils() {
        //NOOP
    }

    @SuppressWarnings("deprecation")
    public static void writeMessageIntoEmbedder(EmbeddedChannel embedder, SocksMessage msg) {
        ByteBuf buf = Unpooled.buffer();
        msg.encodeAsByteBuf(buf);
        embedder.writeInbound(buf);
    }
}

Frequently Asked Questions

What is the SocksCommonTestUtils class?
SocksCommonTestUtils is a class in the netty codebase, defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksCommonTestUtils.java.
Where is SocksCommonTestUtils defined?
SocksCommonTestUtils is defined in codec-socks/src/test/java/io/netty/handler/codec/socks/SocksCommonTestUtils.java at line 22.

Analyze Your Own Codebase

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

Try Supermodel Free