SocksMessage Class — netty Architecture
Architecture documentation for the SocksMessage class in SocksMessage.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 244783e6_3535_85f3_47e1_629cbf451120["SocksMessage"] 3236a3eb_9713_5d6d_6510_6b7bc6e03cf5["SocksMessage.java"] 244783e6_3535_85f3_47e1_629cbf451120 -->|defined in| 3236a3eb_9713_5d6d_6510_6b7bc6e03cf5 b5564e9f_255e_f295_bbe5_456500e40405["SocksMessage()"] 244783e6_3535_85f3_47e1_629cbf451120 -->|method| b5564e9f_255e_f295_bbe5_456500e40405 6dcabee1_ac08_4f1a_d2f1_3575cfef4c8c["SocksMessageType()"] 244783e6_3535_85f3_47e1_629cbf451120 -->|method| 6dcabee1_ac08_4f1a_d2f1_3575cfef4c8c e59fa3b0_dc28_470d_aa62_22ce6269a9c7["SocksProtocolVersion()"] 244783e6_3535_85f3_47e1_629cbf451120 -->|method| e59fa3b0_dc28_470d_aa62_22ce6269a9c7 87250aa5_79de_2f9e_b872_0f02470ded8f["encodeAsByteBuf()"] 244783e6_3535_85f3_47e1_629cbf451120 -->|method| 87250aa5_79de_2f9e_b872_0f02470ded8f
Relationship Graph
Source Code
codec-socks/src/main/java/io/netty/handler/codec/socks/SocksMessage.java lines 29–60
public abstract class SocksMessage {
private final SocksMessageType type;
private final SocksProtocolVersion protocolVersion = SocksProtocolVersion.SOCKS5;
protected SocksMessage(SocksMessageType type) {
this.type = ObjectUtil.checkNotNull(type, "type");
}
/**
* Returns the {@link SocksMessageType} of this {@link SocksMessage}
*
* @return The {@link SocksMessageType} of this {@link SocksMessage}
*/
public SocksMessageType type() {
return type;
}
/**
* Returns the {@link SocksProtocolVersion} of this {@link SocksMessage}
*
* @return The {@link SocksProtocolVersion} of this {@link SocksMessage}
*/
public SocksProtocolVersion protocolVersion() {
return protocolVersion;
}
/**
* @deprecated Do not use; this method was intended for an internal use only.
*/
@Deprecated
public abstract void encodeAsByteBuf(ByteBuf byteBuf);
}
Source
Frequently Asked Questions
What is the SocksMessage class?
SocksMessage is a class in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socks/SocksMessage.java.
Where is SocksMessage defined?
SocksMessage is defined in codec-socks/src/main/java/io/netty/handler/codec/socks/SocksMessage.java at line 29.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free