public class io.netty.handler.codec.socksx.v.Socks5ServerEncoder extends io.netty.handler.codec.MessageToByteEncoder
{
public static final io.netty.handler.codec.socksx.v.Socks5ServerEncoder DEFAULT;
private final io.netty.handler.codec.socksx.v.Socks5AddressEncoder addressEncoder;
protected void <init>()
{
io.netty.handler.codec.socksx.v.Socks5AddressEncoder v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
v := @this: io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v = <io.netty.handler.codec.socksx.v.Socks5AddressEncoder: io.netty.handler.codec.socksx.v.Socks5AddressEncoder DEFAULT>;
specialinvoke v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: void <init>(io.netty.handler.codec.socksx.v.Socks5AddressEncoder)>(v);
return;
}
public void <init>(io.netty.handler.codec.socksx.v.Socks5AddressEncoder)
{
io.netty.handler.codec.socksx.v.Socks5AddressEncoder v;
java.lang.Object v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
v := @this: io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v := @parameter: io.netty.handler.codec.socksx.v.Socks5AddressEncoder;
specialinvoke v.<io.netty.handler.codec.MessageToByteEncoder: void <init>()>();
v = staticinvoke <io.netty.util.internal.ObjectUtil: java.lang.Object checkNotNull(java.lang.Object,java.lang.String)>(v, "addressEncoder");
v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: io.netty.handler.codec.socksx.v.Socks5AddressEncoder addressEncoder> = v;
return;
}
protected final io.netty.handler.codec.socksx.v.Socks5AddressEncoder addressEncoder()
{
io.netty.handler.codec.socksx.v.Socks5AddressEncoder v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
v := @this: io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v = v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: io.netty.handler.codec.socksx.v.Socks5AddressEncoder addressEncoder>;
return v;
}
protected void encode(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.socksx.v.Socks5Message, io.netty.buffer.ByteBuf) throws java.lang.Exception
{
io.netty.handler.codec.EncoderException v;
io.netty.handler.codec.socksx.v.Socks5Message v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
io.netty.channel.ChannelHandlerContext v;
io.netty.buffer.ByteBuf v;
java.lang.String v, v;
boolean v, v, v;
v := @this: io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v := @parameter: io.netty.channel.ChannelHandlerContext;
v := @parameter: io.netty.handler.codec.socksx.v.Socks5Message;
v := @parameter: io.netty.buffer.ByteBuf;
v = v instanceof io.netty.handler.codec.socksx.v.Socks5InitialResponse;
if v == 0 goto label;
staticinvoke <io.netty.handler.codec.socksx.v.Socks5ServerEncoder: void encodeAuthMethodResponse(io.netty.handler.codec.socksx.v.Socks5InitialResponse,io.netty.buffer.ByteBuf)>(v, v);
goto label;
label:
v = v instanceof io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse;
if v == 0 goto label;
staticinvoke <io.netty.handler.codec.socksx.v.Socks5ServerEncoder: void encodePasswordAuthResponse(io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse,io.netty.buffer.ByteBuf)>(v, v);
goto label;
label:
v = v instanceof io.netty.handler.codec.socksx.v.Socks5CommandResponse;
if v == 0 goto label;
specialinvoke v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: void encodeCommandResponse(io.netty.handler.codec.socksx.v.Socks5CommandResponse,io.netty.buffer.ByteBuf)>(v, v);
goto label;
label:
v = new io.netty.handler.codec.EncoderException;
v = staticinvoke <io.netty.util.internal.StringUtil: java.lang.String simpleClassName(java.lang.Object)>(v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("unsupported message type: \u0001");
specialinvoke v.<io.netty.handler.codec.EncoderException: void <init>(java.lang.String)>(v);
throw v;
label:
return;
}
private static void encodeAuthMethodResponse(io.netty.handler.codec.socksx.v.Socks5InitialResponse, io.netty.buffer.ByteBuf)
{
io.netty.handler.codec.socksx.v.Socks5AuthMethod v;
byte v, v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.socksx.v.Socks5InitialResponse v;
io.netty.handler.codec.socksx.SocksVersion v;
v := @parameter: io.netty.handler.codec.socksx.v.Socks5InitialResponse;
v := @parameter: io.netty.buffer.ByteBuf;
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5InitialResponse: io.netty.handler.codec.socksx.SocksVersion version()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.SocksVersion: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5InitialResponse: io.netty.handler.codec.socksx.v.Socks5AuthMethod authMethod()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.v.Socks5AuthMethod: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
return;
}
private static void encodePasswordAuthResponse(io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse, io.netty.buffer.ByteBuf)
{
byte v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse v;
io.netty.handler.codec.socksx.v.Socks5PasswordAuthStatus v;
v := @parameter: io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse;
v := @parameter: io.netty.buffer.ByteBuf;
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(1);
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5PasswordAuthResponse: io.netty.handler.codec.socksx.v.Socks5PasswordAuthStatus status()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.v.Socks5PasswordAuthStatus: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
return;
}
private void encodeCommandResponse(io.netty.handler.codec.socksx.v.Socks5CommandResponse, io.netty.buffer.ByteBuf) throws java.lang.Exception
{
io.netty.handler.codec.socksx.v.Socks5AddressType v;
io.netty.handler.codec.socksx.v.Socks5AddressEncoder v;
io.netty.handler.codec.socksx.v.Socks5CommandResponse v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
byte v, v, v;
io.netty.buffer.ByteBuf v;
io.netty.handler.codec.socksx.v.Socks5CommandStatus v;
int v;
java.lang.String v;
io.netty.handler.codec.socksx.SocksVersion v;
v := @this: io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v := @parameter: io.netty.handler.codec.socksx.v.Socks5CommandResponse;
v := @parameter: io.netty.buffer.ByteBuf;
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandResponse: io.netty.handler.codec.socksx.SocksVersion version()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.SocksVersion: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandResponse: io.netty.handler.codec.socksx.v.Socks5CommandStatus status()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandStatus: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(0);
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandResponse: io.netty.handler.codec.socksx.v.Socks5AddressType bndAddrType()>();
v = virtualinvoke v.<io.netty.handler.codec.socksx.v.Socks5AddressType: byte byteValue()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeByte(int)>(v);
v = v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: io.netty.handler.codec.socksx.v.Socks5AddressEncoder addressEncoder>;
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandResponse: java.lang.String bndAddr()>();
interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5AddressEncoder: void encodeAddress(io.netty.handler.codec.socksx.v.Socks5AddressType,java.lang.String,io.netty.buffer.ByteBuf)>(v, v, v);
v = interfaceinvoke v.<io.netty.handler.codec.socksx.v.Socks5CommandResponse: int bndPort()>();
virtualinvoke v.<io.netty.buffer.ByteBuf: io.netty.buffer.ByteBuf writeShort(int)>(v);
return;
}
static void <clinit>()
{
io.netty.handler.codec.socksx.v.Socks5AddressEncoder v;
io.netty.handler.codec.socksx.v.Socks5ServerEncoder v;
v = new io.netty.handler.codec.socksx.v.Socks5ServerEncoder;
v = <io.netty.handler.codec.socksx.v.Socks5AddressEncoder: io.netty.handler.codec.socksx.v.Socks5AddressEncoder DEFAULT>;
specialinvoke v.<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: void <init>(io.netty.handler.codec.socksx.v.Socks5AddressEncoder)>(v);
<io.netty.handler.codec.socksx.v.Socks5ServerEncoder: io.netty.handler.codec.socksx.v.Socks5ServerEncoder DEFAULT> = v;
return;
}
}