final class io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket
super_class: java.lang.Object
{
private final io.netty.channel.unix.IovArray array;
descriptor: Lio/netty/channel/unix/IovArray;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long memoryAddress;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] addr;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int scopeId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
0: .line 119
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 123
aload 0 /* this */
new io.netty.channel.unix.IovArray
dup
invokespecial io.netty.channel.unix.IovArray.<init>:()V
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
2: .line 119
return
end local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
private void release();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
0: .line 134
aload 0 /* this */
getfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
invokevirtual io.netty.channel.unix.IovArray.release:()V
1: .line 135
return
end local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
private boolean init(io.netty.buffer.ByteBuf, java.net.InetSocketAddress);
descriptor: (Lio/netty/buffer/ByteBuf;Ljava/net/InetSocketAddress;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
start local 1 // io.netty.buffer.ByteBuf buf
start local 2 // java.net.InetSocketAddress recipient
0: .line 141
aload 0 /* this */
getfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
invokevirtual io.netty.channel.unix.IovArray.clear:()V
1: .line 142
aload 0 /* this */
getfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
aload 1 /* buf */
invokevirtual io.netty.channel.unix.IovArray.add:(Lio/netty/buffer/ByteBuf;)Z
ifne 3
2: .line 143
iconst_0
ireturn
3: .line 146
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
iconst_0
invokevirtual io.netty.channel.unix.IovArray.memoryAddress:(I)J
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.memoryAddress:J
4: .line 147
aload 0 /* this */
aload 0 /* this */
getfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.array:Lio/netty/channel/unix/IovArray;
invokevirtual io.netty.channel.unix.IovArray.count:()I
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.count:I
5: .line 149
aload 2 /* recipient */
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 3 /* address */
start local 3 // java.net.InetAddress address
6: .line 150
aload 3 /* address */
instanceof java.net.Inet6Address
ifeq 10
7: .line 151
aload 0 /* this */
aload 3 /* address */
invokevirtual java.net.InetAddress.getAddress:()[B
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.addr:[B
8: .line 152
aload 0 /* this */
aload 3 /* address */
checkcast java.net.Inet6Address
invokevirtual java.net.Inet6Address.getScopeId:()I
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.scopeId:I
9: .line 153
goto 12
10: .line 154
StackMap locals: java.net.InetAddress
StackMap stack:
aload 0 /* this */
aload 3 /* address */
invokevirtual java.net.InetAddress.getAddress:()[B
invokestatic io.netty.channel.unix.NativeInetAddress.ipv4MappedIpv6Address:([B)[B
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.addr:[B
11: .line 155
aload 0 /* this */
iconst_0
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.scopeId:I
12: .line 157
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 2 /* recipient */
invokevirtual java.net.InetSocketAddress.getPort:()I
putfield io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket.port:I
13: .line 158
iconst_1
ireturn
end local 3 // java.net.InetAddress address
end local 2 // java.net.InetSocketAddress recipient
end local 1 // io.netty.buffer.ByteBuf buf
end local 0 // io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/channel/epoll/NativeDatagramPacketArray$NativeDatagramPacket;
0 14 1 buf Lio/netty/buffer/ByteBuf;
0 14 2 recipient Ljava/net/InetSocketAddress;
6 14 3 address Ljava/net/InetAddress;
MethodParameters:
Name Flags
buf
recipient
}
SourceFile: "NativeDatagramPacketArray.java"
NestHost: io.netty.channel.epoll.NativeDatagramPacketArray
InnerClasses:
final NativeDatagramPacket = io.netty.channel.epoll.NativeDatagramPacketArray$NativeDatagramPacket of io.netty.channel.epoll.NativeDatagramPacketArray