public class io.netty.channel.unix.Socket extends io.netty.channel.unix.FileDescriptor
{
private static volatile boolean isIpv6Preferred;
public static final int UDS_SUN_PATH_SIZE;
protected final boolean ipv;
public void <init>(int)
{
int v;
io.netty.channel.unix.Socket v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
specialinvoke v.<io.netty.channel.unix.FileDescriptor: void <init>(int)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: boolean isIPv6(int)>(v);
v.<io.netty.channel.unix.Socket: boolean ipv6> = v;
return;
}
private boolean useIpv6(java.net.InetAddress)
{
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.net.InetAddress;
v = staticinvoke <io.netty.channel.unix.Socket: boolean useIpv6(io.netty.channel.unix.Socket,java.net.InetAddress)>(v, v);
return v;
}
protected static boolean useIpv6(io.netty.channel.unix.Socket, java.net.InetAddress)
{
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
boolean v, v, v;
v := @parameter: io.netty.channel.unix.Socket;
v := @parameter: java.net.InetAddress;
v = v.<io.netty.channel.unix.Socket: boolean ipv6>;
if v != 0 goto label;
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final void shutdown() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
virtualinvoke v.<io.netty.channel.unix.Socket: void shutdown(boolean,boolean)>(1, 1);
return;
}
public final void shutdown(boolean, boolean) throws java.io.IOException
{
java.nio.channels.ClosedChannelException v;
io.netty.channel.unix.Socket v;
int v, v, v, v;
boolean v, v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v := @parameter: boolean;
label:
v = v.<io.netty.channel.unix.Socket: int state>;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isClosed(int)>(v);
if v == 0 goto label;
v = new java.nio.channels.ClosedChannelException;
specialinvoke v.<java.nio.channels.ClosedChannelException: void <init>()>();
throw v;
label:
v = v;
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isInputShutdown(int)>(v);
if v != 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: int inputShutdown(int)>(v);
label:
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isOutputShutdown(int)>(v);
if v != 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: int outputShutdown(int)>(v);
label:
if v != v goto label;
return;
label:
v = virtualinvoke v.<io.netty.channel.unix.Socket: boolean casState(int,int)>(v, v);
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int shutdown(int,boolean,boolean)>(v, v, v);
if v >= 0 goto label;
staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("shutdown", v);
label:
return;
}
public final boolean isShutdown()
{
io.netty.channel.unix.Socket v;
int v;
boolean v, v, v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int state>;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isInputShutdown(int)>(v);
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isOutputShutdown(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final boolean isInputShutdown()
{
int v;
io.netty.channel.unix.Socket v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int state>;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isInputShutdown(int)>(v);
return v;
}
public final boolean isOutputShutdown()
{
int v;
io.netty.channel.unix.Socket v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int state>;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isOutputShutdown(int)>(v);
return v;
}
public final int sendTo(java.nio.ByteBuffer, int, int, java.net.InetAddress, int) throws java.io.IOException
{
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v, v;
java.nio.ByteBuffer v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int sendTo(java.nio.ByteBuffer,int,int,java.net.InetAddress,int,boolean)>(v, v, v, v, v, 0);
return v;
}
public final int sendTo(java.nio.ByteBuffer, int, int, java.net.InetAddress, int, boolean) throws java.io.IOException
{
byte[] v, v;
java.nio.ByteBuffer v;
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v, v, v, v, v;
java.net.PortUnreachableException v;
boolean v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v := @parameter: boolean;
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = virtualinvoke v.<java.net.Inet6Address: int getScopeId()>();
goto label;
label:
v = 0;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: byte[] ipv4MappedIpv6Address(byte[])>(v);
label:
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: int msgFastopen()>();
goto label;
label:
v = 0;
label:
v = v.<io.netty.channel.unix.Socket: int fd>;
v = specialinvoke v.<io.netty.channel.unix.Socket: boolean useIpv6(java.net.InetAddress)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int sendTo(int,boolean,java.nio.ByteBuffer,int,int,byte[],int,int,int)>(v, v, v, v, v, v, v, v, v);
if v < 0 goto label;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EINPROGRESS_NEGATIVE>;
if v != v goto label;
if v == 0 goto label;
return 0;
label:
v = <io.netty.channel.unix.Errors: int ERROR_ECONNREFUSED_NEGATIVE>;
if v != v goto label;
v = new java.net.PortUnreachableException;
specialinvoke v.<java.net.PortUnreachableException: void <init>(java.lang.String)>("sendTo failed");
throw v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendTo", v);
return v;
}
public final int sendToDomainSocket(java.nio.ByteBuffer, int, int, byte[]) throws java.io.IOException
{
byte[] v;
java.nio.ByteBuffer v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: byte[];
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int sendToDomainSocket(int,java.nio.ByteBuffer,int,int,byte[])>(v, v, v, v, v);
if v < 0 goto label;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendToDomainSocket", v);
return v;
}
public final int sendToAddress(long, int, int, java.net.InetAddress, int) throws java.io.IOException
{
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int sendToAddress(long,int,int,java.net.InetAddress,int,boolean)>(v, v, v, v, v, 0);
return v;
}
public final int sendToAddress(long, int, int, java.net.InetAddress, int, boolean) throws java.io.IOException
{
byte[] v, v;
long v;
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v, v, v, v, v;
java.net.PortUnreachableException v;
boolean v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v := @parameter: boolean;
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = virtualinvoke v.<java.net.Inet6Address: int getScopeId()>();
goto label;
label:
v = 0;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: byte[] ipv4MappedIpv6Address(byte[])>(v);
label:
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: int msgFastopen()>();
goto label;
label:
v = 0;
label:
v = v.<io.netty.channel.unix.Socket: int fd>;
v = specialinvoke v.<io.netty.channel.unix.Socket: boolean useIpv6(java.net.InetAddress)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int sendToAddress(int,boolean,long,int,int,byte[],int,int,int)>(v, v, v, v, v, v, v, v, v);
if v < 0 goto label;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EINPROGRESS_NEGATIVE>;
if v != v goto label;
if v == 0 goto label;
return 0;
label:
v = <io.netty.channel.unix.Errors: int ERROR_ECONNREFUSED_NEGATIVE>;
if v != v goto label;
v = new java.net.PortUnreachableException;
specialinvoke v.<java.net.PortUnreachableException: void <init>(java.lang.String)>("sendToAddress failed");
throw v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendToAddress", v);
return v;
}
public final int sendToAddressDomainSocket(long, int, int, byte[]) throws java.io.IOException
{
byte[] v;
long v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v := @parameter: byte[];
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int sendToAddressDomainSocket(int,long,int,int,byte[])>(v, v, v, v, v);
if v < 0 goto label;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendToAddressDomainSocket", v);
return v;
}
public final int sendToAddresses(long, int, java.net.InetAddress, int) throws java.io.IOException
{
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int sendToAddresses(long,int,java.net.InetAddress,int,boolean)>(v, v, v, v, 0);
return v;
}
public final int sendToAddresses(long, int, java.net.InetAddress, int, boolean) throws java.io.IOException
{
byte[] v, v;
long v;
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v, v, v, v;
java.net.PortUnreachableException v;
boolean v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: java.net.InetAddress;
v := @parameter: int;
v := @parameter: boolean;
v = v instanceof java.net.Inet6Address;
if v == 0 goto label;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = virtualinvoke v.<java.net.Inet6Address: int getScopeId()>();
goto label;
label:
v = 0;
v = virtualinvoke v.<java.net.InetAddress: byte[] getAddress()>();
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: byte[] ipv4MappedIpv6Address(byte[])>(v);
label:
if v == 0 goto label;
v = staticinvoke <io.netty.channel.unix.Socket: int msgFastopen()>();
goto label;
label:
v = 0;
label:
v = v.<io.netty.channel.unix.Socket: int fd>;
v = specialinvoke v.<io.netty.channel.unix.Socket: boolean useIpv6(java.net.InetAddress)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int sendToAddresses(int,boolean,long,int,byte[],int,int,int)>(v, v, v, v, v, v, v, v);
if v < 0 goto label;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EINPROGRESS_NEGATIVE>;
if v != v goto label;
if v == 0 goto label;
return 0;
label:
v = <io.netty.channel.unix.Errors: int ERROR_ECONNREFUSED_NEGATIVE>;
if v != v goto label;
v = new java.net.PortUnreachableException;
specialinvoke v.<java.net.PortUnreachableException: void <init>(java.lang.String)>("sendToAddresses failed");
throw v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendToAddresses", v);
return v;
}
public final int sendToAddressesDomainSocket(long, int, byte[]) throws java.io.IOException
{
byte[] v;
io.netty.channel.unix.Socket v;
int v, v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: byte[];
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int sendToAddressesDomainSocket(int,long,int,byte[])>(v, v, v, v);
if v < 0 goto label;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendToAddressesDomainSocket", v);
return v;
}
public final io.netty.channel.unix.DatagramSocketAddress recvFrom(java.nio.ByteBuffer, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DatagramSocketAddress v;
int v, v, v;
java.nio.ByteBuffer v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: io.netty.channel.unix.DatagramSocketAddress recvFrom(int,java.nio.ByteBuffer,int,int)>(v, v, v, v);
return v;
}
public final io.netty.channel.unix.DatagramSocketAddress recvFromAddress(long, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DatagramSocketAddress v;
int v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: io.netty.channel.unix.DatagramSocketAddress recvFromAddress(int,long,int,int)>(v, v, v, v);
return v;
}
public final io.netty.channel.unix.DomainDatagramSocketAddress recvFromDomainSocket(java.nio.ByteBuffer, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DomainDatagramSocketAddress v;
int v, v, v;
java.nio.ByteBuffer v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: io.netty.channel.unix.DomainDatagramSocketAddress recvFromDomainSocket(int,java.nio.ByteBuffer,int,int)>(v, v, v, v);
return v;
}
public final io.netty.channel.unix.DomainDatagramSocketAddress recvFromAddressDomainSocket(long, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DomainDatagramSocketAddress v;
int v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: io.netty.channel.unix.DomainDatagramSocketAddress recvFromAddressDomainSocket(int,long,int,int)>(v, v, v, v);
return v;
}
public int recv(java.nio.ByteBuffer, int, int) throws java.io.IOException
{
java.nio.ByteBuffer v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int intValue()>();
v = staticinvoke <io.netty.channel.unix.Socket: int recv(int,java.nio.ByteBuffer,int,int)>(v, v, v, v);
if v <= 0 goto label;
return v;
label:
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("recv", v);
return v;
}
public int recvAddress(long, int, int) throws java.io.IOException
{
long v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int intValue()>();
v = staticinvoke <io.netty.channel.unix.Socket: int recvAddress(int,long,int,int)>(v, v, v, v);
if v <= 0 goto label;
return v;
label:
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("recvAddress", v);
return v;
}
public int send(java.nio.ByteBuffer, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
java.nio.ByteBuffer v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int intValue()>();
v = staticinvoke <io.netty.channel.unix.Socket: int send(int,java.nio.ByteBuffer,int,int)>(v, v, v, v);
if v < 0 goto label;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("send", v);
return v;
}
public int sendAddress(long, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
long v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<io.netty.channel.unix.Socket: int intValue()>();
v = staticinvoke <io.netty.channel.unix.Socket: int sendAddress(int,long,int,int)>(v, v, v, v);
if v < 0 goto label;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: int ioResult(java.lang.String,int)>("sendAddress", v);
return v;
}
public final int recvFd() throws java.io.IOException
{
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int recvFd(int)>(v);
if v <= 0 goto label;
return v;
label:
if v != 0 goto label;
v = (int) -1;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EAGAIN_NEGATIVE>;
if v == v goto label;
v = <io.netty.channel.unix.Errors: int ERRNO_EWOULDBLOCK_NEGATIVE>;
if v != v goto label;
label:
return 0;
label:
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("recvFd", v);
throw v;
}
public final int sendFd(int) throws java.io.IOException
{
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int sendFd(int,int)>(v, v);
if v < 0 goto label;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EAGAIN_NEGATIVE>;
if v == v goto label;
v = <io.netty.channel.unix.Errors: int ERRNO_EWOULDBLOCK_NEGATIVE>;
if v != v goto label;
label:
v = (int) -1;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("sendFd", v);
throw v;
}
public final boolean connect(java.net.SocketAddress) throws java.io.IOException
{
byte[] v, v;
java.net.SocketAddress v;
java.lang.Error v;
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
java.nio.charset.Charset v;
int v, v, v, v, v;
java.lang.String v, v;
boolean v, v, v, v;
io.netty.channel.unix.NativeInetAddress v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.net.SocketAddress;
v = v instanceof java.net.InetSocketAddress;
if v == 0 goto label;
v = virtualinvoke v.<java.net.InetSocketAddress: java.net.InetAddress getAddress()>();
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: io.netty.channel.unix.NativeInetAddress newInstance(java.net.InetAddress)>(v);
v = v.<io.netty.channel.unix.Socket: int fd>;
v = specialinvoke v.<io.netty.channel.unix.Socket: boolean useIpv6(java.net.InetAddress)>(v);
v = v.<io.netty.channel.unix.NativeInetAddress: byte[] address>;
v = v.<io.netty.channel.unix.NativeInetAddress: int scopeId>;
v = virtualinvoke v.<java.net.InetSocketAddress: int getPort()>();
v = staticinvoke <io.netty.channel.unix.Socket: int connect(int,boolean,byte[],int,int)>(v, v, v, v, v);
goto label;
label:
v = v instanceof io.netty.channel.unix.DomainSocketAddress;
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = virtualinvoke v.<io.netty.channel.unix.DomainSocketAddress: java.lang.String path()>();
v = <io.netty.util.CharsetUtil: java.nio.charset.Charset UTF_8>;
v = virtualinvoke v.<java.lang.String: byte[] getBytes(java.nio.charset.Charset)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int connectDomainSocket(int,byte[])>(v, v);
goto label;
label:
v = new java.lang.Error;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.net.SocketAddress)>(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[])>("Unexpected SocketAddress implementation \u0001");
specialinvoke v.<java.lang.Error: void <init>(java.lang.String)>(v);
throw v;
label:
if v >= 0 goto label;
v = staticinvoke <io.netty.channel.unix.Errors: boolean handleConnectErrno(java.lang.String,int)>("connect", v);
return v;
label:
return 1;
}
public final boolean finishConnect() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int finishConnect(int)>(v);
if v >= 0 goto label;
v = staticinvoke <io.netty.channel.unix.Errors: boolean handleConnectErrno(java.lang.String,int)>("finishConnect", v);
return v;
label:
return 1;
}
public final void disconnect() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = v.<io.netty.channel.unix.Socket: boolean ipv6>;
v = staticinvoke <io.netty.channel.unix.Socket: int disconnect(int,boolean)>(v, v);
if v >= 0 goto label;
staticinvoke <io.netty.channel.unix.Errors: boolean handleConnectErrno(java.lang.String,int)>("disconnect", v);
label:
return;
}
public final void bind(java.net.SocketAddress) throws java.io.IOException
{
byte[] v, v;
io.netty.channel.unix.Errors$NativeIoException v, v;
java.net.SocketAddress v;
java.lang.Error v;
java.net.InetAddress v;
io.netty.channel.unix.Socket v;
java.nio.charset.Charset v;
int v, v, v, v, v, v;
java.lang.String v, v;
boolean v, v, v;
io.netty.channel.unix.NativeInetAddress v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: java.net.SocketAddress;
v = v instanceof java.net.InetSocketAddress;
if v == 0 goto label;
v = virtualinvoke v.<java.net.InetSocketAddress: java.net.InetAddress getAddress()>();
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: io.netty.channel.unix.NativeInetAddress newInstance(java.net.InetAddress)>(v);
v = v.<io.netty.channel.unix.Socket: int fd>;
v = specialinvoke v.<io.netty.channel.unix.Socket: boolean useIpv6(java.net.InetAddress)>(v);
v = v.<io.netty.channel.unix.NativeInetAddress: byte[] address>;
v = v.<io.netty.channel.unix.NativeInetAddress: int scopeId>;
v = virtualinvoke v.<java.net.InetSocketAddress: int getPort()>();
v = staticinvoke <io.netty.channel.unix.Socket: int bind(int,boolean,byte[],int,int)>(v, v, v, v, v);
if v >= 0 goto label;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("bind", v);
throw v;
label:
v = v instanceof io.netty.channel.unix.DomainSocketAddress;
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = virtualinvoke v.<io.netty.channel.unix.DomainSocketAddress: java.lang.String path()>();
v = <io.netty.util.CharsetUtil: java.nio.charset.Charset UTF_8>;
v = virtualinvoke v.<java.lang.String: byte[] getBytes(java.nio.charset.Charset)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int bindDomainSocket(int,byte[])>(v, v);
if v >= 0 goto label;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("bind", v);
throw v;
label:
v = new java.lang.Error;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.net.SocketAddress)>(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[])>("Unexpected SocketAddress implementation \u0001");
specialinvoke v.<java.lang.Error: void <init>(java.lang.String)>(v);
throw v;
label:
return;
}
public final void listen(int) throws java.io.IOException
{
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.unix.Socket v;
int v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int listen(int,int)>(v, v);
if v >= 0 goto label;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("listen", v);
throw v;
label:
return;
}
public final int accept(byte[]) throws java.io.IOException
{
byte[] v;
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: byte[];
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int accept(int,byte[])>(v, v);
if v < 0 goto label;
return v;
label:
v = <io.netty.channel.unix.Errors: int ERRNO_EAGAIN_NEGATIVE>;
if v == v goto label;
v = <io.netty.channel.unix.Errors: int ERRNO_EWOULDBLOCK_NEGATIVE>;
if v != v goto label;
label:
v = (int) -1;
return v;
label:
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("accept", v);
throw v;
}
public final java.net.InetSocketAddress remoteAddress()
{
byte[] v;
io.netty.channel.unix.Socket v;
int v, v;
java.net.InetSocketAddress v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: byte[] remoteAddress(int)>(v);
if v != null goto label;
v = null;
goto label;
label:
v = lengthof v;
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: java.net.InetSocketAddress address(byte[],int,int)>(v, 0, v);
label:
return v;
}
public final io.netty.channel.unix.DomainSocketAddress remoteDomainSocketAddress()
{
byte[] v;
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DomainSocketAddress v;
int v;
java.lang.String v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: byte[] remoteDomainSocketAddress(int)>(v);
if v != null goto label;
v = null;
goto label;
label:
v = new io.netty.channel.unix.DomainSocketAddress;
v = new java.lang.String;
specialinvoke v.<java.lang.String: void <init>(byte[])>(v);
specialinvoke v.<io.netty.channel.unix.DomainSocketAddress: void <init>(java.lang.String)>(v);
label:
return v;
}
public final java.net.InetSocketAddress localAddress()
{
byte[] v;
io.netty.channel.unix.Socket v;
int v, v;
java.net.InetSocketAddress v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: byte[] localAddress(int)>(v);
if v != null goto label;
v = null;
goto label;
label:
v = lengthof v;
v = staticinvoke <io.netty.channel.unix.NativeInetAddress: java.net.InetSocketAddress address(byte[],int,int)>(v, 0, v);
label:
return v;
}
public final io.netty.channel.unix.DomainSocketAddress localDomainSocketAddress()
{
byte[] v;
io.netty.channel.unix.Socket v;
io.netty.channel.unix.DomainSocketAddress v;
int v;
java.lang.String v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: byte[] localDomainSocketAddress(int)>(v);
if v != null goto label;
v = null;
goto label;
label:
v = new io.netty.channel.unix.DomainSocketAddress;
v = new java.lang.String;
specialinvoke v.<java.lang.String: void <init>(byte[])>(v);
specialinvoke v.<io.netty.channel.unix.DomainSocketAddress: void <init>(java.lang.String)>(v);
label:
return v;
}
public final int getReceiveBufferSize() throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int getReceiveBufferSize(int)>(v);
return v;
}
public final int getSendBufferSize() throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int getSendBufferSize(int)>(v);
return v;
}
public final boolean isKeepAlive() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int isKeepAlive(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final boolean isTcpNoDelay() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int isTcpNoDelay(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final boolean isReuseAddress() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int isReuseAddress(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final boolean isReusePort() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int isReusePort(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final boolean isBroadcast() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int isBroadcast(int)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public final int getSoLinger() throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int getSoLinger(int)>(v);
return v;
}
public final int getSoError() throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int getSoError(int)>(v);
return v;
}
public final int getTrafficClass() throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = v.<io.netty.channel.unix.Socket: boolean ipv6>;
v = staticinvoke <io.netty.channel.unix.Socket: int getTrafficClass(int,boolean)>(v, v);
return v;
}
public final void setKeepAlive(boolean) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
byte v;
int v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v = v.<io.netty.channel.unix.Socket: int fd>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.netty.channel.unix.Socket: void setKeepAlive(int,int)>(v, v);
return;
}
public final void setReceiveBufferSize(int) throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
staticinvoke <io.netty.channel.unix.Socket: void setReceiveBufferSize(int,int)>(v, v);
return;
}
public final void setSendBufferSize(int) throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
staticinvoke <io.netty.channel.unix.Socket: void setSendBufferSize(int,int)>(v, v);
return;
}
public final void setTcpNoDelay(boolean) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
byte v;
int v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v = v.<io.netty.channel.unix.Socket: int fd>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.netty.channel.unix.Socket: void setTcpNoDelay(int,int)>(v, v);
return;
}
public final void setSoLinger(int) throws java.io.IOException
{
int v, v;
io.netty.channel.unix.Socket v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
staticinvoke <io.netty.channel.unix.Socket: void setSoLinger(int,int)>(v, v);
return;
}
public final void setReuseAddress(boolean) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
byte v;
int v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v = v.<io.netty.channel.unix.Socket: int fd>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.netty.channel.unix.Socket: void setReuseAddress(int,int)>(v, v);
return;
}
public final void setReusePort(boolean) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
byte v;
int v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v = v.<io.netty.channel.unix.Socket: int fd>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.netty.channel.unix.Socket: void setReusePort(int,int)>(v, v);
return;
}
public final void setBroadcast(boolean) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
byte v;
int v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: boolean;
v = v.<io.netty.channel.unix.Socket: int fd>;
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <io.netty.channel.unix.Socket: void setBroadcast(int,int)>(v, v);
return;
}
public final void setTrafficClass(int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v;
boolean v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = v.<io.netty.channel.unix.Socket: boolean ipv6>;
staticinvoke <io.netty.channel.unix.Socket: void setTrafficClass(int,boolean,int)>(v, v, v);
return;
}
public void setIntOpt(int, int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
staticinvoke <io.netty.channel.unix.Socket: void setIntOpt(int,int,int,int)>(v, v, v, v);
return;
}
public void setRawOpt(int, int, java.nio.ByteBuffer) throws java.io.IOException
{
byte[] v, v;
long v, v;
java.nio.ByteBuffer v, v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.nio.ByteBuffer;
v = virtualinvoke v.<java.nio.ByteBuffer: int limit()>();
v = virtualinvoke v.<java.nio.ByteBuffer: boolean isDirect()>();
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Buffer: long memoryAddress(java.nio.ByteBuffer)>(v);
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = v + v;
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
staticinvoke <io.netty.channel.unix.Socket: void setRawOptAddress(int,int,int,long,int)>(v, v, v, v, v);
goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: boolean hasArray()>();
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = virtualinvoke v.<java.nio.ByteBuffer: byte[] array()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int arrayOffset()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = v + v;
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
staticinvoke <io.netty.channel.unix.Socket: void setRawOptArray(int,int,int,byte[],int,int)>(v, v, v, v, v, v);
goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
v = newarray (byte)[v];
v = virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer duplicate()>();
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer get(byte[])>(v);
v = v.<io.netty.channel.unix.Socket: int fd>;
v = lengthof v;
staticinvoke <io.netty.channel.unix.Socket: void setRawOptArray(int,int,int,byte[],int,int)>(v, v, v, v, 0, v);
label:
virtualinvoke v.<java.nio.ByteBuffer: java.nio.Buffer position(int)>(v);
return;
}
public int getIntOpt(int, int) throws java.io.IOException
{
io.netty.channel.unix.Socket v;
int v, v, v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v := @parameter: int;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Socket: int getIntOpt(int,int,int)>(v, v, v);
return v;
}
public void getRawOpt(int, int, java.nio.ByteBuffer) throws java.io.IOException
{
byte[] v, v;
long v, v;
java.nio.ByteBuffer v;
io.netty.channel.unix.Socket v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v;
boolean v, v;
v := @this: io.netty.channel.unix.Socket;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.nio.ByteBuffer;
v = virtualinvoke v.<java.nio.ByteBuffer: boolean isDirect()>();
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = staticinvoke <io.netty.channel.unix.Buffer: long memoryAddress(java.nio.ByteBuffer)>(v);
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = v + v;
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
staticinvoke <io.netty.channel.unix.Socket: void getRawOptAddress(int,int,int,long,int)>(v, v, v, v, v);
goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: boolean hasArray()>();
if v == 0 goto label;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = virtualinvoke v.<java.nio.ByteBuffer: byte[] array()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int position()>();
v = virtualinvoke v.<java.nio.ByteBuffer: int arrayOffset()>();
v = v + v;
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
staticinvoke <io.netty.channel.unix.Socket: void getRawOptArray(int,int,int,byte[],int,int)>(v, v, v, v, v, v);
goto label;
label:
v = virtualinvoke v.<java.nio.ByteBuffer: int remaining()>();
v = newarray (byte)[v];
v = v.<io.netty.channel.unix.Socket: int fd>;
v = lengthof v;
staticinvoke <io.netty.channel.unix.Socket: void getRawOptArray(int,int,int,byte[],int,int)>(v, v, v, v, 0, v);
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer put(byte[])>(v);
label:
v = virtualinvoke v.<java.nio.ByteBuffer: int limit()>();
virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer position(int)>(v);
return;
}
public static boolean isIPv6Preferred()
{
boolean v;
v = <io.netty.channel.unix.Socket: boolean isIpv6Preferred>;
return v;
}
public static boolean shouldUseIpv6(io.netty.channel.socket.InternetProtocolFamily)
{
io.netty.channel.socket.InternetProtocolFamily v, v;
boolean v;
v := @parameter: io.netty.channel.socket.InternetProtocolFamily;
if v != null goto label;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isIPv6Preferred()>();
goto label;
label:
v = <io.netty.channel.socket.InternetProtocolFamily: io.netty.channel.socket.InternetProtocolFamily IPv6>;
if v != v goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
private static native boolean isIPv6Preferred0(boolean);
private static native boolean isIPv6(int);
public java.lang.String toString()
{
int v;
io.netty.channel.unix.Socket v;
java.lang.String v;
v := @this: io.netty.channel.unix.Socket;
v = v.<io.netty.channel.unix.Socket: int fd>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(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[])>("Socket{fd=\u0001}");
return v;
}
public static io.netty.channel.unix.Socket newSocketStream()
{
int v;
io.netty.channel.unix.Socket v;
v = new io.netty.channel.unix.Socket;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketStream0()>();
specialinvoke v.<io.netty.channel.unix.Socket: void <init>(int)>(v);
return v;
}
public static io.netty.channel.unix.Socket newSocketDgram()
{
int v;
io.netty.channel.unix.Socket v;
v = new io.netty.channel.unix.Socket;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDgram0()>();
specialinvoke v.<io.netty.channel.unix.Socket: void <init>(int)>(v);
return v;
}
public static io.netty.channel.unix.Socket newSocketDomain()
{
int v;
io.netty.channel.unix.Socket v;
v = new io.netty.channel.unix.Socket;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDomain0()>();
specialinvoke v.<io.netty.channel.unix.Socket: void <init>(int)>(v);
return v;
}
public static io.netty.channel.unix.Socket newSocketDomainDgram()
{
int v;
io.netty.channel.unix.Socket v;
v = new io.netty.channel.unix.Socket;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDomainDgram0()>();
specialinvoke v.<io.netty.channel.unix.Socket: void <init>(int)>(v);
return v;
}
public static void initialize()
{
boolean v, v;
v = staticinvoke <io.netty.util.NetUtil: boolean isIpV4StackPreferred()>();
v = staticinvoke <io.netty.channel.unix.Socket: boolean isIPv6Preferred0(boolean)>(v);
<io.netty.channel.unix.Socket: boolean isIpv6Preferred> = v;
return;
}
protected static int newSocketStream0()
{
int v;
boolean v;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isIPv6Preferred()>();
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketStream0(boolean)>(v);
return v;
}
protected static int newSocketStream0(io.netty.channel.socket.InternetProtocolFamily)
{
int v;
io.netty.channel.socket.InternetProtocolFamily v;
boolean v;
v := @parameter: io.netty.channel.socket.InternetProtocolFamily;
v = staticinvoke <io.netty.channel.unix.Socket: boolean shouldUseIpv6(io.netty.channel.socket.InternetProtocolFamily)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketStream0(boolean)>(v);
return v;
}
protected static int newSocketStream0(boolean)
{
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.ChannelException v;
int v;
boolean v;
v := @parameter: boolean;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketStreamFd(boolean)>(v);
if v >= 0 goto label;
v = new io.netty.channel.ChannelException;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("newSocketStream", v);
specialinvoke v.<io.netty.channel.ChannelException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return v;
}
protected static int newSocketDgram0()
{
int v;
boolean v;
v = staticinvoke <io.netty.channel.unix.Socket: boolean isIPv6Preferred()>();
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDgram0(boolean)>(v);
return v;
}
protected static int newSocketDgram0(io.netty.channel.socket.InternetProtocolFamily)
{
int v;
io.netty.channel.socket.InternetProtocolFamily v;
boolean v;
v := @parameter: io.netty.channel.socket.InternetProtocolFamily;
v = staticinvoke <io.netty.channel.unix.Socket: boolean shouldUseIpv6(io.netty.channel.socket.InternetProtocolFamily)>(v);
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDgram0(boolean)>(v);
return v;
}
protected static int newSocketDgram0(boolean)
{
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.ChannelException v;
int v;
boolean v;
v := @parameter: boolean;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDgramFd(boolean)>(v);
if v >= 0 goto label;
v = new io.netty.channel.ChannelException;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("newSocketDgram", v);
specialinvoke v.<io.netty.channel.ChannelException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return v;
}
protected static int newSocketDomain0()
{
int v;
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.ChannelException v;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDomainFd()>();
if v >= 0 goto label;
v = new io.netty.channel.ChannelException;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("newSocketDomain", v);
specialinvoke v.<io.netty.channel.ChannelException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return v;
}
protected static int newSocketDomainDgram0()
{
int v;
io.netty.channel.unix.Errors$NativeIoException v;
io.netty.channel.ChannelException v;
v = staticinvoke <io.netty.channel.unix.Socket: int newSocketDomainDgramFd()>();
if v >= 0 goto label;
v = new io.netty.channel.ChannelException;
v = staticinvoke <io.netty.channel.unix.Errors: io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String,int)>("newSocketDomainDgram", v);
specialinvoke v.<io.netty.channel.ChannelException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return v;
}
private static native int shutdown(int, boolean, boolean);
private static native int connect(int, boolean, byte[], int, int);
private static native int connectDomainSocket(int, byte[]);
private static native int finishConnect(int);
private static native int disconnect(int, boolean);
private static native int bind(int, boolean, byte[], int, int);
private static native int bindDomainSocket(int, byte[]);
private static native int listen(int, int);
private static native int accept(int, byte[]);
private static native byte[] remoteAddress(int);
private static native byte[] remoteDomainSocketAddress(int);
private static native byte[] localAddress(int);
private static native byte[] localDomainSocketAddress(int);
private static native int send(int, java.nio.ByteBuffer, int, int);
private static native int sendAddress(int, long, int, int);
private static native int recv(int, java.nio.ByteBuffer, int, int);
private static native int recvAddress(int, long, int, int);
private static native int sendTo(int, boolean, java.nio.ByteBuffer, int, int, byte[], int, int, int);
private static native int sendToAddress(int, boolean, long, int, int, byte[], int, int, int);
private static native int sendToAddresses(int, boolean, long, int, byte[], int, int, int);
private static native int sendToDomainSocket(int, java.nio.ByteBuffer, int, int, byte[]);
private static native int sendToAddressDomainSocket(int, long, int, int, byte[]);
private static native int sendToAddressesDomainSocket(int, long, int, byte[]);
private static native io.netty.channel.unix.DatagramSocketAddress recvFrom(int, java.nio.ByteBuffer, int, int) throws java.io.IOException;
private static native io.netty.channel.unix.DatagramSocketAddress recvFromAddress(int, long, int, int) throws java.io.IOException;
private static native io.netty.channel.unix.DomainDatagramSocketAddress recvFromDomainSocket(int, java.nio.ByteBuffer, int, int) throws java.io.IOException;
private static native io.netty.channel.unix.DomainDatagramSocketAddress recvFromAddressDomainSocket(int, long, int, int) throws java.io.IOException;
private static native int recvFd(int);
private static native int sendFd(int, int);
private static native int msgFastopen();
private static native int newSocketStreamFd(boolean);
private static native int newSocketDgramFd(boolean);
private static native int newSocketDomainFd();
private static native int newSocketDomainDgramFd();
private static native int isReuseAddress(int) throws java.io.IOException;
private static native int isReusePort(int) throws java.io.IOException;
private static native int getReceiveBufferSize(int) throws java.io.IOException;
private static native int getSendBufferSize(int) throws java.io.IOException;
private static native int isKeepAlive(int) throws java.io.IOException;
private static native int isTcpNoDelay(int) throws java.io.IOException;
private static native int isBroadcast(int) throws java.io.IOException;
private static native int getSoLinger(int) throws java.io.IOException;
private static native int getSoError(int) throws java.io.IOException;
private static native int getTrafficClass(int, boolean) throws java.io.IOException;
private static native void setReuseAddress(int, int) throws java.io.IOException;
private static native void setReusePort(int, int) throws java.io.IOException;
private static native void setKeepAlive(int, int) throws java.io.IOException;
private static native void setReceiveBufferSize(int, int) throws java.io.IOException;
private static native void setSendBufferSize(int, int) throws java.io.IOException;
private static native void setTcpNoDelay(int, int) throws java.io.IOException;
private static native void setSoLinger(int, int) throws java.io.IOException;
private static native void setBroadcast(int, int) throws java.io.IOException;
private static native void setTrafficClass(int, boolean, int) throws java.io.IOException;
private static native void setIntOpt(int, int, int, int) throws java.io.IOException;
private static native void setRawOptArray(int, int, int, byte[], int, int) throws java.io.IOException;
private static native void setRawOptAddress(int, int, int, long, int) throws java.io.IOException;
private static native int getIntOpt(int, int, int) throws java.io.IOException;
private static native void getRawOptArray(int, int, int, byte[], int, int) throws java.io.IOException;
private static native void getRawOptAddress(int, int, int, long, int) throws java.io.IOException;
}