Socks5Message into a ByteBuf.
| Modifier and Type | Field and Description |
|---|---|
| private final Socks5AddressEncoder | |
| public static final Socks5ServerEncoder |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | Socks5ServerEncoder(Socks5AddressEncoder addressEncoder)
Creates a new instance with the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected final Socks5AddressEncoder | |
| protected void | encode(ChannelHandlerContext
the ctx, Socks5Message ChannelHandlerContext which this MessageToByteEncoder belongs tothe message to encode msg, ByteBuf the out)ByteBuf into which the encoded message will be writtenImplements abstract io. ByteBuf.
|
| private static void | |
| private void | |
| private static void |
| addressEncoder | back to summary |
|---|---|
| private final Socks5AddressEncoder addressEncoder | |
| DEFAULT | back to summary |
|---|---|
| public static final Socks5ServerEncoder DEFAULT | |
| Socks5ServerEncoder | back to summary |
|---|---|
| protected Socks5ServerEncoder() Creates a new instance with the default | |
| Socks5ServerEncoder | back to summary |
|---|---|
| public Socks5ServerEncoder(Socks5AddressEncoder addressEncoder) Creates a new instance with the specified | |
| addressEncoder | back to summary |
|---|---|
| protected final Socks5AddressEncoder addressEncoder() Returns the | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, Socks5Message msg, ByteBuf out) throws Exception Implements abstract io. Doc from io. Encode a message into a
| |
| encodeAuthMethodResponse | back to summary |
|---|---|
| private static void encodeAuthMethodResponse(Socks5InitialResponse msg, ByteBuf out) | |
| encodeCommandResponse | back to summary |
|---|---|
| private void encodeCommandResponse(Socks5CommandResponse msg, ByteBuf out) throws Exception | |
| encodePasswordAuthResponse | back to summary |
|---|---|
| private static void encodePasswordAuthResponse(Socks5PasswordAuthResponse msg, ByteBuf out) | |