public final class io.netty.util.internal.SocketUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.SocketUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/SocketUtils;
public static void connect(java.net.Socket, java.net.SocketAddress, int);
descriptor: (Ljava/net/Socket;Ljava/net/SocketAddress;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new io.netty.util.internal.SocketUtils$1
dup
aload 0
aload 1
iload 2
invokespecial io.netty.util.internal.SocketUtils$1.<init>:(Ljava/net/Socket;Ljava/net/SocketAddress;I)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
2: astore 3
start local 3 3: aload 3
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 socket Ljava/net/Socket;
0 5 1 remoteAddress Ljava/net/SocketAddress;
0 5 2 timeout I
3 4 3 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
socket final
remoteAddress final
timeout final
public static void bind(java.net.Socket, java.net.SocketAddress);
descriptor: (Ljava/net/Socket;Ljava/net/SocketAddress;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new io.netty.util.internal.SocketUtils$2
dup
aload 0
aload 1
invokespecial io.netty.util.internal.SocketUtils$2.<init>:(Ljava/net/Socket;Ljava/net/SocketAddress;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
2: astore 2
start local 2 3: aload 2
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 socket Ljava/net/Socket;
0 5 1 bindpoint Ljava/net/SocketAddress;
3 4 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
socket final
bindpoint final
public static boolean connect(java.nio.channels.SocketChannel, java.net.SocketAddress);
descriptor: (Ljava/nio/channels/SocketChannel;Ljava/net/SocketAddress;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new io.netty.util.internal.SocketUtils$3
dup
aload 0
aload 1
invokespecial io.netty.util.internal.SocketUtils$3.<init>:(Ljava/nio/channels/SocketChannel;Ljava/net/SocketAddress;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 3: aload 2
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 socketChannel Ljava/nio/channels/SocketChannel;
0 4 1 remoteAddress Ljava/net/SocketAddress;
3 4 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
socketChannel final
remoteAddress final
public static void bind(java.nio.channels.SocketChannel, java.net.SocketAddress);
descriptor: (Ljava/nio/channels/SocketChannel;Ljava/net/SocketAddress;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new io.netty.util.internal.SocketUtils$4
dup
aload 0
aload 1
invokespecial io.netty.util.internal.SocketUtils$4.<init>:(Ljava/nio/channels/SocketChannel;Ljava/net/SocketAddress;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
2: astore 2
start local 2 3: aload 2
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 socketChannel Ljava/nio/channels/SocketChannel;
0 5 1 address Ljava/net/SocketAddress;
3 4 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
socketChannel final
address final
public static java.nio.channels.SocketChannel accept(java.nio.channels.ServerSocketChannel);
descriptor: (Ljava/nio/channels/ServerSocketChannel;)Ljava/nio/channels/SocketChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$5
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$5.<init>:(Ljava/nio/channels/ServerSocketChannel;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.nio.channels.SocketChannel
1: areturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 3: aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 serverSocketChannel Ljava/nio/channels/ServerSocketChannel;
3 4 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
serverSocketChannel final
public static void bind(java.nio.channels.DatagramChannel, java.net.SocketAddress);
descriptor: (Ljava/nio/channels/DatagramChannel;Ljava/net/SocketAddress;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new io.netty.util.internal.SocketUtils$6
dup
aload 0
aload 1
invokespecial io.netty.util.internal.SocketUtils$6.<init>:(Ljava/nio/channels/DatagramChannel;Ljava/net/SocketAddress;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
1: goto 4
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
2: astore 2
start local 2 3: aload 2
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.io.IOException
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 networkChannel Ljava/nio/channels/DatagramChannel;
0 5 1 address Ljava/net/SocketAddress;
3 4 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
networkChannel final
address final
public static java.net.SocketAddress localSocketAddress(java.net.ServerSocket);
descriptor: (Ljava/net/ServerSocket;)Ljava/net/SocketAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$7
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$7.<init>:(Ljava/net/ServerSocket;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.SocketAddress
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 socket Ljava/net/ServerSocket;
MethodParameters:
Name Flags
socket final
public static java.net.InetAddress addressByName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$8
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$8.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.InetAddress
1: areturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 3: aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.net.UnknownHostException
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 hostname Ljava/lang/String;
3 4 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.net.UnknownHostException
MethodParameters:
Name Flags
hostname final
public static java.net.InetAddress[] allAddressesByName(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$9
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$9.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.net.InetAddress[]
1: areturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 3: aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.net.UnknownHostException
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 hostname Ljava/lang/String;
3 4 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.net.UnknownHostException
MethodParameters:
Name Flags
hostname final
public static java.net.InetSocketAddress socketAddress(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/net/InetSocketAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.netty.util.internal.SocketUtils$10
dup
aload 0
iload 1
invokespecial io.netty.util.internal.SocketUtils$10.<init>:(Ljava/lang/String;I)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.InetSocketAddress
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hostname Ljava/lang/String;
0 1 1 port I
MethodParameters:
Name Flags
hostname final
port final
public static java.util.Enumeration<java.net.InetAddress> addressesFromNetworkInterface(java.net.NetworkInterface);
descriptor: (Ljava/net/NetworkInterface;)Ljava/util/Enumeration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$11
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$11.<init>:(Ljava/net/NetworkInterface;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.Enumeration
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 intf Ljava/net/NetworkInterface;
Signature: (Ljava/net/NetworkInterface;)Ljava/util/Enumeration<Ljava/net/InetAddress;>;
MethodParameters:
Name Flags
intf final
public static java.net.InetAddress loopbackAddress();
descriptor: ()Ljava/net/InetAddress;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.util.internal.SocketUtils$12
dup
invokespecial io.netty.util.internal.SocketUtils$12.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.net.InetAddress
areturn
LocalVariableTable:
Start End Slot Name Signature
public static byte[] hardwareAddressFromNetworkInterface(java.net.NetworkInterface);
descriptor: (Ljava/net/NetworkInterface;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.netty.util.internal.SocketUtils$13
dup
aload 0
invokespecial io.netty.util.internal.SocketUtils$13.<init>:(Ljava/net/NetworkInterface;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast byte[]
1: areturn
2: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 1
start local 1 3: aload 1
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
checkcast java.net.SocketException
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 intf Ljava/net/NetworkInterface;
3 4 1 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 1 2 Class java.security.PrivilegedActionException
Exceptions:
throws java.net.SocketException
MethodParameters:
Name Flags
intf final
}
SourceFile: "SocketUtils.java"
NestMembers:
io.netty.util.internal.SocketUtils$1 io.netty.util.internal.SocketUtils$10 io.netty.util.internal.SocketUtils$11 io.netty.util.internal.SocketUtils$12 io.netty.util.internal.SocketUtils$13 io.netty.util.internal.SocketUtils$2 io.netty.util.internal.SocketUtils$3 io.netty.util.internal.SocketUtils$4 io.netty.util.internal.SocketUtils$5 io.netty.util.internal.SocketUtils$6 io.netty.util.internal.SocketUtils$7 io.netty.util.internal.SocketUtils$8 io.netty.util.internal.SocketUtils$9
InnerClasses:
io.netty.util.internal.SocketUtils$1
io.netty.util.internal.SocketUtils$10
io.netty.util.internal.SocketUtils$11
io.netty.util.internal.SocketUtils$12
io.netty.util.internal.SocketUtils$13
io.netty.util.internal.SocketUtils$2
io.netty.util.internal.SocketUtils$3
io.netty.util.internal.SocketUtils$4
io.netty.util.internal.SocketUtils$5
io.netty.util.internal.SocketUtils$6
io.netty.util.internal.SocketUtils$7
io.netty.util.internal.SocketUtils$8
io.netty.util.internal.SocketUtils$9