public final class org.xnio.channels.Channels
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.xnio.channels.Channels
super_class: java.lang.Object
{
private static final java.nio.channels.FileChannel NULL_FILE_CHANNEL;
descriptor: Ljava/nio/channels/FileChannel;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.ByteBuffer DRAIN_BUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: sipush 16384
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
putstatic org.xnio.channels.Channels.DRAIN_BUFFER:Ljava/nio/ByteBuffer;
1: new org.xnio.channels.Channels$1
dup
invokespecial org.xnio.channels.Channels$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.nio.channels.FileChannel
putstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
2: return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/xnio/channels/Channels;
public static void flushBlocking(org.xnio.channels.SuspendableWriteChannel);
descriptor: (Lorg/xnio/channels/SuspendableWriteChannel;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.awaitWritable:()V
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.flush:()Z
ifeq 1
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel Lorg/xnio/channels/SuspendableWriteChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
public static void shutdownWritesBlocking(org.xnio.channels.SuspendableWriteChannel);
descriptor: (Lorg/xnio/channels/SuspendableWriteChannel;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.shutdownWrites:()V
1: aload 0
invokestatic org.xnio.channels.Channels.flushBlocking:(Lorg/xnio/channels/SuspendableWriteChannel;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 channel Lorg/xnio/channels/SuspendableWriteChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
public static <C extends java.nio.channels.WritableByteChannel, org.xnio.channels.SuspendableWriteChannel> int writeBlocking(C, java.nio.ByteBuffer);
descriptor: (Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 3: iload 3
ifne 6
4: aload 0
checkcast org.xnio.channels.SuspendableWriteChannel
invokeinterface org.xnio.channels.SuspendableWriteChannel.awaitWritable:()V
5: goto 7
6: StackMap locals: int
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 channel TC;
0 9 1 buffer Ljava/nio/ByteBuffer;
1 9 2 t I
3 7 3 res I
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/WritableByteChannel;:Lorg/xnio/channels/SuspendableWriteChannel;>(TC;Ljava/nio/ByteBuffer;)I
MethodParameters:
Name Flags
channel
buffer
public static <C extends java.nio.channels.WritableByteChannel, org.xnio.channels.SuspendableWriteChannel> int writeBlocking(C, java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
lload 2
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 5
start local 5 1: invokestatic java.lang.System.nanoTime:()J
lstore 7
start local 7 2: iconst_0
istore 9
start local 9 3: goto 10
4: StackMap locals: long long int
StackMap stack:
aload 0
aload 1
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
istore 10
start local 10 5: iload 10
ifne 9
6: aload 0
checkcast org.xnio.channels.SuspendableWriteChannel
lload 5
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.xnio.channels.SuspendableWriteChannel.awaitWritable:(JLjava/util/concurrent/TimeUnit;)V
7: lload 5
lload 7
lneg
invokestatic java.lang.System.nanoTime:()J
dup2
lstore 7
ladd
lconst_0
invokestatic java.lang.Math.max:(JJ)J
lsub
lstore 5
8: goto 10
9: StackMap locals: int
StackMap stack:
iload 9
iload 10
iadd
istore 9
end local 10 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 11
lload 5
lconst_0
lcmp
ifgt 4
11: StackMap locals:
StackMap stack:
iload 9
ireturn
end local 9 end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 channel TC;
0 12 1 buffer Ljava/nio/ByteBuffer;
0 12 2 time J
0 12 4 unit Ljava/util/concurrent/TimeUnit;
1 12 5 remaining J
2 12 7 now J
3 12 9 t I
5 10 10 res I
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/WritableByteChannel;:Lorg/xnio/channels/SuspendableWriteChannel;>(TC;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
MethodParameters:
Name Flags
channel
buffer
time
unit
public static <C extends java.nio.channels.GatheringByteChannel, org.xnio.channels.SuspendableWriteChannel> long writeBlocking(C, java.nio.ByteBuffer[], int, );
descriptor: (Ljava/nio/channels/GatheringByteChannel;[Ljava/nio/ByteBuffer;II)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 4
start local 4 1: goto 7
2: StackMap locals: long
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.GatheringByteChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 6
start local 6 3: lload 6
lconst_0
lcmp
ifne 6
4: aload 0
checkcast org.xnio.channels.SuspendableWriteChannel
invokeinterface org.xnio.channels.SuspendableWriteChannel.awaitWritable:()V
5: goto 7
6: StackMap locals: long
StackMap stack:
lload 4
lload 6
ladd
lstore 4
end local 6 7: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic org.xnio.Buffers.hasRemaining:([Ljava/nio/Buffer;II)Z
ifne 2
8: lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 channel TC;
0 9 1 buffers [Ljava/nio/ByteBuffer;
0 9 2 offs I
0 9 3 len I
1 9 4 t J
3 7 6 res J
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/GatheringByteChannel;:Lorg/xnio/channels/SuspendableWriteChannel;>(TC;[Ljava/nio/ByteBuffer;II)J
MethodParameters:
Name Flags
channel
buffers
offs
len
public static <C extends java.nio.channels.GatheringByteChannel, org.xnio.channels.SuspendableWriteChannel> long writeBlocking(C, java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/nio/channels/GatheringByteChannel;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=15, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 6
lload 4
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 7
start local 7 1: invokestatic java.lang.System.nanoTime:()J
lstore 9
start local 9 2: lconst_0
lstore 11
start local 11 3: goto 10
4: StackMap locals: long long long
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.GatheringByteChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 13
start local 13 5: lload 13
lconst_0
lcmp
ifne 9
6: aload 0
checkcast org.xnio.channels.SuspendableWriteChannel
lload 7
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.xnio.channels.SuspendableWriteChannel.awaitWritable:(JLjava/util/concurrent/TimeUnit;)V
7: lload 7
lload 9
lneg
invokestatic java.lang.System.nanoTime:()J
dup2
lstore 9
ladd
lconst_0
invokestatic java.lang.Math.max:(JJ)J
lsub
lstore 7
8: goto 10
9: StackMap locals: long
StackMap stack:
lload 11
lload 13
ladd
lstore 11
end local 13 10: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
invokestatic org.xnio.Buffers.hasRemaining:([Ljava/nio/Buffer;II)Z
ifeq 11
lload 7
lconst_0
lcmp
ifgt 4
11: StackMap locals:
StackMap stack:
lload 11
lreturn
end local 11 end local 9 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 channel TC;
0 12 1 buffers [Ljava/nio/ByteBuffer;
0 12 2 offs I
0 12 3 len I
0 12 4 time J
0 12 6 unit Ljava/util/concurrent/TimeUnit;
1 12 7 remaining J
2 12 9 now J
3 12 11 t J
5 10 13 res J
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/GatheringByteChannel;:Lorg/xnio/channels/SuspendableWriteChannel;>(TC;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
MethodParameters:
Name Flags
channel
buffers
offs
len
time
unit
public static <C extends org.xnio.channels.WritableMessageChannel> void sendBlocking(C, java.nio.ByteBuffer);
descriptor: (Lorg/xnio/channels/WritableMessageChannel;Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.xnio.channels.WritableMessageChannel.awaitWritable:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.xnio.channels.WritableMessageChannel.send:(Ljava/nio/ByteBuffer;)Z
ifeq 1
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel TC;
0 4 1 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/WritableMessageChannel;>(TC;Ljava/nio/ByteBuffer;)V
MethodParameters:
Name Flags
channel
buffer
public static <C extends org.xnio.channels.WritableMessageChannel> boolean sendBlocking(C, java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/xnio/channels/WritableMessageChannel;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
lload 2
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 5
start local 5 1: invokestatic java.lang.System.nanoTime:()J
lstore 7
start local 7 2: goto 8
3: StackMap locals: long long
StackMap stack:
aload 0
aload 1
invokeinterface org.xnio.channels.WritableMessageChannel.send:(Ljava/nio/ByteBuffer;)Z
ifne 7
4: aload 0
lload 5
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.xnio.channels.WritableMessageChannel.awaitWritable:(JLjava/util/concurrent/TimeUnit;)V
5: lload 5
lload 7
lneg
invokestatic java.lang.System.nanoTime:()J
dup2
lstore 7
ladd
lconst_0
invokestatic java.lang.Math.max:(JJ)J
lsub
lstore 5
6: goto 8
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
lload 5
lconst_0
lcmp
ifgt 3
9: iconst_0
ireturn
end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 channel TC;
0 10 1 buffer Ljava/nio/ByteBuffer;
0 10 2 time J
0 10 4 unit Ljava/util/concurrent/TimeUnit;
1 10 5 remaining J
2 10 7 now J
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/WritableMessageChannel;>(TC;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)Z
MethodParameters:
Name Flags
channel
buffer
time
unit
public static <C extends org.xnio.channels.WritableMessageChannel> void sendBlocking(C, java.nio.ByteBuffer[], int, );
descriptor: (Lorg/xnio/channels/WritableMessageChannel;[Ljava/nio/ByteBuffer;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.xnio.channels.WritableMessageChannel.awaitWritable:()V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.WritableMessageChannel.send:([Ljava/nio/ByteBuffer;II)Z
ifeq 1
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel TC;
0 4 1 buffers [Ljava/nio/ByteBuffer;
0 4 2 offs I
0 4 3 len I
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/WritableMessageChannel;>(TC;[Ljava/nio/ByteBuffer;II)V
MethodParameters:
Name Flags
channel
buffers
offs
len
public static <C extends org.xnio.channels.WritableMessageChannel> boolean sendBlocking(C, java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/xnio/channels/WritableMessageChannel;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 6
lload 4
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
lstore 7
start local 7 1: invokestatic java.lang.System.nanoTime:()J
lstore 9
start local 9 2: goto 8
3: StackMap locals: long long
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.WritableMessageChannel.send:([Ljava/nio/ByteBuffer;II)Z
ifne 7
4: aload 0
lload 7
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.xnio.channels.WritableMessageChannel.awaitWritable:(JLjava/util/concurrent/TimeUnit;)V
5: lload 7
lload 9
lneg
invokestatic java.lang.System.nanoTime:()J
dup2
lstore 9
ladd
lconst_0
invokestatic java.lang.Math.max:(JJ)J
lsub
lstore 7
6: goto 8
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
lload 7
lconst_0
lcmp
ifgt 3
9: iconst_0
ireturn
end local 9 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 channel TC;
0 10 1 buffers [Ljava/nio/ByteBuffer;
0 10 2 offs I
0 10 3 len I
0 10 4 time J
0 10 6 unit Ljava/util/concurrent/TimeUnit;
1 10 7 remaining J
2 10 9 now J
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/WritableMessageChannel;>(TC;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)Z
MethodParameters:
Name Flags
channel
buffers
offs
len
time
unit
public static <C extends java.nio.channels.ReadableByteChannel, org.xnio.channels.SuspendableReadChannel> int readBlocking(C, java.nio.ByteBuffer);
descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: goto 2
start local 2 1: StackMap locals: int
StackMap stack:
aload 0
checkcast org.xnio.channels.SuspendableReadChannel
invokeinterface org.xnio.channels.SuspendableReadChannel.awaitReadable:()V
end local 2 2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
dup
istore 2
start local 2 3: ifne 4
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 1
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffer Ljava/nio/ByteBuffer;
1 2 2 res I
3 5 2 res I
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/ReadableByteChannel;:Lorg/xnio/channels/SuspendableReadChannel;>(TC;Ljava/nio/ByteBuffer;)I
MethodParameters:
Name Flags
channel
buffer
public static <C extends java.nio.channels.ReadableByteChannel, org.xnio.channels.SuspendableReadChannel> int readBlocking(C, java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
istore 5
start local 5 1: iload 5
ifne 4
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 4
2: aload 0
checkcast org.xnio.channels.SuspendableReadChannel
lload 2
aload 4
invokeinterface org.xnio.channels.SuspendableReadChannel.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
3: aload 0
aload 1
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
ireturn
4: StackMap locals: int
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffer Ljava/nio/ByteBuffer;
0 5 2 time J
0 5 4 unit Ljava/util/concurrent/TimeUnit;
1 5 5 res I
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/ReadableByteChannel;:Lorg/xnio/channels/SuspendableReadChannel;>(TC;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
MethodParameters:
Name Flags
channel
buffer
time
unit
public static <C extends java.nio.channels.ScatteringByteChannel, org.xnio.channels.SuspendableReadChannel> long readBlocking(C, java.nio.ByteBuffer[], int, );
descriptor: (Ljava/nio/channels/ScatteringByteChannel;[Ljava/nio/ByteBuffer;II)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 2
start local 4 1: StackMap locals: long
StackMap stack:
aload 0
checkcast org.xnio.channels.SuspendableReadChannel
invokeinterface org.xnio.channels.SuspendableReadChannel.awaitReadable:()V
end local 4 2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.ScatteringByteChannel.read:([Ljava/nio/ByteBuffer;II)J
dup2
lstore 4
start local 4 3: lconst_0
lcmp
ifeq 1
4: lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffers [Ljava/nio/ByteBuffer;
0 5 2 offs I
0 5 3 len I
1 2 4 res J
3 5 4 res J
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/ScatteringByteChannel;:Lorg/xnio/channels/SuspendableReadChannel;>(TC;[Ljava/nio/ByteBuffer;II)J
MethodParameters:
Name Flags
channel
buffers
offs
len
public static <C extends java.nio.channels.ScatteringByteChannel, org.xnio.channels.SuspendableReadChannel> long readBlocking(C, java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit);
descriptor: (Ljava/nio/channels/ScatteringByteChannel;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.ScatteringByteChannel.read:([Ljava/nio/ByteBuffer;II)J
lstore 7
start local 7 1: lload 7
lconst_0
lcmp
ifne 4
aload 1
iload 2
iload 3
invokestatic org.xnio.Buffers.hasRemaining:([Ljava/nio/Buffer;II)Z
ifeq 4
2: aload 0
checkcast org.xnio.channels.SuspendableReadChannel
lload 4
aload 6
invokeinterface org.xnio.channels.SuspendableReadChannel.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
3: aload 0
aload 1
iload 2
iload 3
invokeinterface java.nio.channels.ScatteringByteChannel.read:([Ljava/nio/ByteBuffer;II)J
lreturn
4: StackMap locals: long
StackMap stack:
lload 7
lreturn
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffers [Ljava/nio/ByteBuffer;
0 5 2 offs I
0 5 3 len I
0 5 4 time J
0 5 6 unit Ljava/util/concurrent/TimeUnit;
1 5 7 res J
Exceptions:
throws java.io.IOException
Signature: <C::Ljava/nio/channels/ScatteringByteChannel;:Lorg/xnio/channels/SuspendableReadChannel;>(TC;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
MethodParameters:
Name Flags
channel
buffers
offs
len
time
unit
public static <C extends org.xnio.channels.ReadableMessageChannel> int receiveBlocking(C, java.nio.ByteBuffer);
descriptor: (Lorg/xnio/channels/ReadableMessageChannel;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: goto 2
start local 2 1: StackMap locals: int
StackMap stack:
aload 0
invokeinterface org.xnio.channels.ReadableMessageChannel.awaitReadable:()V
end local 2 2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:(Ljava/nio/ByteBuffer;)I
dup
istore 2
start local 2 3: ifeq 1
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffer Ljava/nio/ByteBuffer;
1 2 2 res I
3 5 2 res I
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ReadableMessageChannel;>(TC;Ljava/nio/ByteBuffer;)I
MethodParameters:
Name Flags
channel
buffer
public static <C extends org.xnio.channels.ReadableMessageChannel> int receiveBlocking(C, java.nio.ByteBuffer, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/xnio/channels/ReadableMessageChannel;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:(Ljava/nio/ByteBuffer;)I
istore 5
start local 5 1: iload 5
ifne 4
2: aload 0
lload 2
aload 4
invokeinterface org.xnio.channels.ReadableMessageChannel.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
3: aload 0
aload 1
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:(Ljava/nio/ByteBuffer;)I
ireturn
4: StackMap locals: int
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffer Ljava/nio/ByteBuffer;
0 5 2 time J
0 5 4 unit Ljava/util/concurrent/TimeUnit;
1 5 5 res I
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ReadableMessageChannel;>(TC;Ljava/nio/ByteBuffer;JLjava/util/concurrent/TimeUnit;)I
MethodParameters:
Name Flags
channel
buffer
time
unit
public static <C extends org.xnio.channels.ReadableMessageChannel> long receiveBlocking(C, java.nio.ByteBuffer[], int, );
descriptor: (Lorg/xnio/channels/ReadableMessageChannel;[Ljava/nio/ByteBuffer;II)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 2
start local 4 1: StackMap locals: long
StackMap stack:
aload 0
invokeinterface org.xnio.channels.ReadableMessageChannel.awaitReadable:()V
end local 4 2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:([Ljava/nio/ByteBuffer;II)J
dup2
lstore 4
start local 4 3: lconst_0
lcmp
ifeq 1
4: lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffers [Ljava/nio/ByteBuffer;
0 5 2 offs I
0 5 3 len I
1 2 4 res J
3 5 4 res J
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ReadableMessageChannel;>(TC;[Ljava/nio/ByteBuffer;II)J
MethodParameters:
Name Flags
channel
buffers
offs
len
public static <C extends org.xnio.channels.ReadableMessageChannel> long receiveBlocking(C, java.nio.ByteBuffer[], int, int, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/xnio/channels/ReadableMessageChannel;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 0: aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:([Ljava/nio/ByteBuffer;II)J
lstore 7
start local 7 1: lload 7
lconst_0
lcmp
ifne 4
2: aload 0
lload 4
aload 6
invokeinterface org.xnio.channels.ReadableMessageChannel.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
3: aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.ReadableMessageChannel.receive:([Ljava/nio/ByteBuffer;II)J
lreturn
4: StackMap locals: long
StackMap stack:
lload 7
lreturn
end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TC;
0 5 1 buffers [Ljava/nio/ByteBuffer;
0 5 2 offs I
0 5 3 len I
0 5 4 time J
0 5 6 unit Ljava/util/concurrent/TimeUnit;
1 5 7 res J
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ReadableMessageChannel;>(TC;[Ljava/nio/ByteBuffer;IIJLjava/util/concurrent/TimeUnit;)J
MethodParameters:
Name Flags
channel
buffers
offs
len
time
unit
public static <C extends org.xnio.channels.ConnectedChannel, A extends org.xnio.channels.AcceptingChannel<C>> C acceptBlocking();
descriptor: (Lorg/xnio/channels/AcceptingChannel;)Lorg/xnio/channels/ConnectedChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 2
start local 1 1: StackMap locals: org.xnio.channels.ConnectedChannel
StackMap stack:
aload 0
invokeinterface org.xnio.channels.AcceptingChannel.awaitAcceptable:()V
end local 1 2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.xnio.channels.AcceptingChannel.accept:()Lorg/xnio/channels/ConnectedChannel;
dup
astore 1
start local 1 3: ifnull 1
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TA;
1 2 1 accepted TC;
3 5 1 accepted TC;
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ConnectedChannel;A::Lorg/xnio/channels/AcceptingChannel<TC;>;>(TA;)TC;
MethodParameters:
Name Flags
channel
public static <C extends org.xnio.channels.ConnectedChannel, A extends org.xnio.channels.AcceptingChannel<C>> C acceptBlocking(A, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/xnio/channels/AcceptingChannel;JLjava/util/concurrent/TimeUnit;)Lorg/xnio/channels/ConnectedChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokeinterface org.xnio.channels.AcceptingChannel.accept:()Lorg/xnio/channels/ConnectedChannel;
astore 4
start local 4 1: aload 4
ifnonnull 4
2: aload 0
lload 1
aload 3
invokeinterface org.xnio.channels.AcceptingChannel.awaitAcceptable:(JLjava/util/concurrent/TimeUnit;)V
3: aload 0
invokeinterface org.xnio.channels.AcceptingChannel.accept:()Lorg/xnio/channels/ConnectedChannel;
areturn
4: StackMap locals: org.xnio.channels.ConnectedChannel
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 channel TA;
0 5 1 time J
0 5 3 unit Ljava/util/concurrent/TimeUnit;
1 5 4 accepted TC;
Exceptions:
throws java.io.IOException
Signature: <C::Lorg/xnio/channels/ConnectedChannel;A::Lorg/xnio/channels/AcceptingChannel<TC;>;>(TA;JLjava/util/concurrent/TimeUnit;)TC;
MethodParameters:
Name Flags
channel
time
unit
public static void transferBlocking(org.xnio.channels.StreamSinkChannel, java.nio.channels.FileChannel, long, long);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;Ljava/nio/channels/FileChannel;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 4 0: lload 4
lstore 6
start local 6 1: goto 14
start local 8 2: StackMap locals: long long
StackMap stack:
aload 0
invokeinterface org.xnio.channels.StreamSinkChannel.awaitWritable:()V
3: goto 10
StackMap locals:
StackMap stack: java.io.InterruptedIOException
4: astore 10
start local 10 5: lload 4
lload 6
lsub
lstore 11
start local 11 6: lload 11
ldc 2147483647
lcmp
ifle 9
7: aload 10
iconst_m1
putfield java.io.InterruptedIOException.bytesTransferred:I
8: goto 10
9: StackMap locals: java.io.InterruptedIOException long
StackMap stack:
aload 10
lload 11
l2i
putfield java.io.InterruptedIOException.bytesTransferred:I
end local 11 end local 10 end local 8 10: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
lload 6
invokeinterface org.xnio.channels.StreamSinkChannel.transferFrom:(Ljava/nio/channels/FileChannel;JJ)J
dup2
lstore 8
start local 8 11: lconst_0
lcmp
ifeq 2
12: lload 6
lload 8
lsub
lstore 6
13: lload 2
lload 8
ladd
lstore 2
end local 8 14: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifgt 10
15: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 destination Lorg/xnio/channels/StreamSinkChannel;
0 16 1 source Ljava/nio/channels/FileChannel;
0 16 2 startPosition J
0 16 4 count J
1 16 6 remaining J
2 10 8 res J
11 14 8 res J
5 10 10 e Ljava/io/InterruptedIOException;
6 10 11 bytes J
Exception table:
from to target type
2 3 4 Class java.io.InterruptedIOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
source
startPosition
count final
public static void transferBlocking(java.nio.channels.FileChannel, org.xnio.channels.StreamSourceChannel, long, long);
descriptor: (Ljava/nio/channels/FileChannel;Lorg/xnio/channels/StreamSourceChannel;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 4 0: lload 4
lstore 6
start local 6 1: goto 14
start local 8 2: StackMap locals: long long
StackMap stack:
aload 1
invokeinterface org.xnio.channels.StreamSourceChannel.awaitReadable:()V
3: goto 10
StackMap locals:
StackMap stack: java.io.InterruptedIOException
4: astore 10
start local 10 5: lload 4
lload 6
lsub
lstore 11
start local 11 6: lload 11
ldc 2147483647
lcmp
ifle 9
7: aload 10
iconst_m1
putfield java.io.InterruptedIOException.bytesTransferred:I
8: goto 10
9: StackMap locals: java.io.InterruptedIOException long
StackMap stack:
aload 10
lload 11
l2i
putfield java.io.InterruptedIOException.bytesTransferred:I
end local 11 end local 10 end local 8 10: StackMap locals:
StackMap stack:
aload 1
lload 2
lload 6
aload 0
invokeinterface org.xnio.channels.StreamSourceChannel.transferTo:(JJLjava/nio/channels/FileChannel;)J
dup2
lstore 8
start local 8 11: lconst_0
lcmp
ifeq 2
12: lload 6
lload 8
lsub
lstore 6
13: lload 2
lload 8
ladd
lstore 2
end local 8 14: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifgt 10
15: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 destination Ljava/nio/channels/FileChannel;
0 16 1 source Lorg/xnio/channels/StreamSourceChannel;
0 16 2 startPosition J
0 16 4 count J
1 16 6 remaining J
2 10 8 res J
11 14 8 res J
5 10 10 e Ljava/io/InterruptedIOException;
6 10 11 bytes J
Exception table:
from to target type
2 3 4 Class java.io.InterruptedIOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
source
startPosition
count final
public static long transferBlocking(org.xnio.channels.StreamSinkChannel, org.xnio.channels.StreamSourceChannel, java.nio.ByteBuffer, long);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;Lorg/xnio/channels/StreamSourceChannel;Ljava/nio/ByteBuffer;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: lconst_0
lstore 5
start local 5 1: goto 22
start local 7 2: StackMap locals: long long
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 5
3: aload 0
aload 2
invokestatic org.xnio.channels.Channels.writeBlocking:(Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)I
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.xnio.channels.StreamSourceChannel.awaitReadable:()V
end local 7 6: StackMap locals:
StackMap stack:
aload 1
lload 3
aload 2
aload 0
invokeinterface org.xnio.channels.StreamSourceChannel.transferTo:(JLjava/nio/ByteBuffer;Lorg/xnio/channels/StreamSinkChannel;)J
dup2
lstore 7
start local 7 7: lconst_0
lcmp
ifeq 2
8: lload 5
lload 7
ladd
lstore 5
9: goto 18
end local 7 StackMap locals:
StackMap stack: java.io.InterruptedIOException
10: astore 9
start local 9 11: aload 9
getfield java.io.InterruptedIOException.bytesTransferred:I
istore 10
start local 10 12: lload 5
iload 10
i2l
ladd
lstore 5
13: iload 10
iflt 14
lload 5
ldc 2147483647
lcmp
ifle 16
14: StackMap locals: org.xnio.channels.StreamSinkChannel org.xnio.channels.StreamSourceChannel java.nio.ByteBuffer long long top top java.io.InterruptedIOException int
StackMap stack:
aload 9
iconst_m1
putfield java.io.InterruptedIOException.bytesTransferred:I
15: goto 17
16: StackMap locals:
StackMap stack:
aload 9
lload 5
l2i
putfield java.io.InterruptedIOException.bytesTransferred:I
17: StackMap locals:
StackMap stack:
aload 9
athrow
end local 10 end local 9 start local 7 18: StackMap locals: org.xnio.channels.StreamSinkChannel org.xnio.channels.StreamSourceChannel java.nio.ByteBuffer long long long
StackMap stack:
lload 7
ldc -1
lcmp
ifne 22
19: lload 5
lconst_0
lcmp
ifne 20
ldc -1
goto 21
StackMap locals:
StackMap stack:
20: lload 5
StackMap locals:
StackMap stack: long
21: lreturn
end local 7 22: StackMap locals:
StackMap stack:
lload 5
lload 3
lcmp
iflt 6
23: lload 5
lreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 destination Lorg/xnio/channels/StreamSinkChannel;
0 24 1 source Lorg/xnio/channels/StreamSourceChannel;
0 24 2 throughBuffer Ljava/nio/ByteBuffer;
0 24 3 count J
1 24 5 t J
2 6 7 res J
7 10 7 res J
18 22 7 res J
11 18 9 e Ljava/io/InterruptedIOException;
12 18 10 transferred I
Exception table:
from to target type
2 9 10 Class java.io.InterruptedIOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
source
throughBuffer
count
public static <T extends org.xnio.channels.CloseableChannel> void setCloseListener(T, org.xnio.ChannelListener<? super T>);
descriptor: (Lorg/xnio/channels/CloseableChannel;Lorg/xnio/ChannelListener;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.xnio.channels.CloseableChannel.getCloseSetter:()Lorg/xnio/ChannelListener$Setter;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 channel TT;
0 3 1 listener Lorg/xnio/ChannelListener<-TT;>;
1 3 2 setter Lorg/xnio/ChannelListener$Setter<+TT;>;
Signature: <T::Lorg/xnio/channels/CloseableChannel;>(TT;Lorg/xnio/ChannelListener<-TT;>;)V
MethodParameters:
Name Flags
channel
listener
public static <T extends org.xnio.channels.AcceptingChannel<?>> void setAcceptListener(T, org.xnio.ChannelListener<? super T>);
descriptor: (Lorg/xnio/channels/AcceptingChannel;Lorg/xnio/ChannelListener;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.xnio.channels.AcceptingChannel.getAcceptSetter:()Lorg/xnio/ChannelListener$Setter;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 channel TT;
0 3 1 listener Lorg/xnio/ChannelListener<-TT;>;
1 3 2 setter Lorg/xnio/ChannelListener$Setter<+TT;>;
Signature: <T::Lorg/xnio/channels/AcceptingChannel<*>;>(TT;Lorg/xnio/ChannelListener<-TT;>;)V
MethodParameters:
Name Flags
channel
listener
public static <T extends org.xnio.channels.SuspendableReadChannel> void setReadListener(T, org.xnio.ChannelListener<? super T>);
descriptor: (Lorg/xnio/channels/SuspendableReadChannel;Lorg/xnio/ChannelListener;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.xnio.channels.SuspendableReadChannel.getReadSetter:()Lorg/xnio/ChannelListener$Setter;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 channel TT;
0 3 1 listener Lorg/xnio/ChannelListener<-TT;>;
1 3 2 setter Lorg/xnio/ChannelListener$Setter<+TT;>;
Signature: <T::Lorg/xnio/channels/SuspendableReadChannel;>(TT;Lorg/xnio/ChannelListener<-TT;>;)V
MethodParameters:
Name Flags
channel
listener
public static <T extends org.xnio.channels.SuspendableWriteChannel> void setWriteListener(T, org.xnio.ChannelListener<? super T>);
descriptor: (Lorg/xnio/channels/SuspendableWriteChannel;Lorg/xnio/ChannelListener;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.getWriteSetter:()Lorg/xnio/ChannelListener$Setter;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface org.xnio.ChannelListener$Setter.set:(Lorg/xnio/ChannelListener;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 channel TT;
0 3 1 listener Lorg/xnio/ChannelListener<-TT;>;
1 3 2 setter Lorg/xnio/ChannelListener$Setter<+TT;>;
Signature: <T::Lorg/xnio/channels/SuspendableWriteChannel;>(TT;Lorg/xnio/ChannelListener<-TT;>;)V
MethodParameters:
Name Flags
channel
listener
public static org.xnio.channels.ByteChannel wrapByteChannel(org.xnio.channels.ByteChannel);
descriptor: (Lorg/xnio/channels/ByteChannel;)Lorg/xnio/channels/ByteChannel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.xnio.channels.Channels$2
dup
aload 0
invokespecial org.xnio.channels.Channels$2.<init>:(Lorg/xnio/channels/ByteChannel;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 original Lorg/xnio/channels/ByteChannel;
MethodParameters:
Name Flags
original final
public static <T> T getOption(org.xnio.channels.Configurable, org.xnio.Option<T>, );
descriptor: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.xnio.channels.Configurable.getOption:(Lorg/xnio/Option;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 2
aload 2
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aload 3
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 3 4: StackMap locals: org.xnio.channels.Configurable org.xnio.Option java.lang.Object
StackMap stack: java.io.IOException
pop
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configurable Lorg/xnio/channels/Configurable;
0 6 1 option Lorg/xnio/Option<TT;>;
0 6 2 defaultValue TT;
1 4 3 value TT;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Signature: <T:Ljava/lang/Object;>(Lorg/xnio/channels/Configurable;Lorg/xnio/Option<TT;>;TT;)TT;
MethodParameters:
Name Flags
configurable
option
defaultValue
public static boolean getOption(org.xnio.channels.Configurable, org.xnio.Option<java.lang.Boolean>, );
descriptor: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.xnio.channels.Configurable.getOption:(Lorg/xnio/Option;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 3
start local 3 1: aload 3
ifnonnull 2
iload 2
goto 3
StackMap locals: java.lang.Boolean
StackMap stack:
2: aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
3: ireturn
end local 3 4: StackMap locals: org.xnio.channels.Configurable org.xnio.Option int
StackMap stack: java.io.IOException
pop
5: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configurable Lorg/xnio/channels/Configurable;
0 6 1 option Lorg/xnio/Option<Ljava/lang/Boolean;>;
0 6 2 defaultValue Z
1 4 3 value Ljava/lang/Boolean;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Signature: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option<Ljava/lang/Boolean;>;Z)Z
MethodParameters:
Name Flags
configurable
option
defaultValue
public static int getOption(org.xnio.channels.Configurable, org.xnio.Option<java.lang.Integer>, );
descriptor: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.xnio.channels.Configurable.getOption:(Lorg/xnio/Option;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 1: aload 3
ifnonnull 2
iload 2
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: aload 3
invokevirtual java.lang.Integer.intValue:()I
StackMap locals:
StackMap stack: int
3: ireturn
end local 3 4: StackMap locals: org.xnio.channels.Configurable org.xnio.Option int
StackMap stack: java.io.IOException
pop
5: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configurable Lorg/xnio/channels/Configurable;
0 6 1 option Lorg/xnio/Option<Ljava/lang/Integer;>;
0 6 2 defaultValue I
1 4 3 value Ljava/lang/Integer;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Signature: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option<Ljava/lang/Integer;>;I)I
MethodParameters:
Name Flags
configurable
option
defaultValue
public static long getOption(org.xnio.channels.Configurable, org.xnio.Option<java.lang.Long>, );
descriptor: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface org.xnio.channels.Configurable.getOption:(Lorg/xnio/Option;)Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 1: aload 4
ifnonnull 2
lload 2
goto 3
StackMap locals: java.lang.Long
StackMap stack:
2: aload 4
invokevirtual java.lang.Long.longValue:()J
StackMap locals:
StackMap stack: long
3: lreturn
end local 4 4: StackMap locals: org.xnio.channels.Configurable org.xnio.Option long
StackMap stack: java.io.IOException
pop
5: lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configurable Lorg/xnio/channels/Configurable;
0 6 1 option Lorg/xnio/Option<Ljava/lang/Long;>;
0 6 2 defaultValue J
1 4 4 value Ljava/lang/Long;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Signature: (Lorg/xnio/channels/Configurable;Lorg/xnio/Option<Ljava/lang/Long;>;J)J
MethodParameters:
Name Flags
configurable
option
defaultValue
public static <T extends java.nio.channels.Channel> T unwrap(java.lang.Class<T>, java.nio.channels.Channel);
descriptor: (Ljava/lang/Class;Ljava/nio/channels/Channel;)Ljava/nio/channels/Channel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.channels.Channel
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.xnio.channels.WrappedChannel
ifeq 7
5: aload 1
checkcast org.xnio.channels.WrappedChannel
invokeinterface org.xnio.channels.WrappedChannel.getChannel:()Ljava/nio/channels/Channel;
astore 1
6: goto 0
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 targetType Ljava/lang/Class<TT;>;
0 8 1 channel Ljava/nio/channels/Channel;
Signature: <T::Ljava/nio/channels/Channel;>(Ljava/lang/Class<TT;>;Ljava/nio/channels/Channel;)TT;
MethodParameters:
Name Flags
targetType
channel
public static long drain(org.xnio.channels.StreamSourceChannel, long);
descriptor: (Lorg/xnio/channels/StreamSourceChannel;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: lconst_0
lstore 3
start local 3 1: aconst_null
astore 8
start local 8 2: StackMap locals: org.xnio.channels.StreamSourceChannel long long top top top java.nio.ByteBuffer
StackMap stack:
lload 1
lconst_0
lcmp
ifne 3
lload 3
lreturn
3: StackMap locals:
StackMap stack:
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
ifnull 12
4: goto 10
5: StackMap locals:
StackMap stack:
aload 0
lconst_0
lload 1
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
invokeinterface org.xnio.channels.StreamSourceChannel.transferTo:(JJLjava/nio/channels/FileChannel;)J
dup2
lstore 5
start local 5 6: lconst_0
lcmp
ifne 8
7: goto 11
8: StackMap locals: org.xnio.channels.StreamSourceChannel long long long top java.nio.ByteBuffer
StackMap stack:
lload 3
lload 5
ladd
lstore 3
9: lload 1
lload 5
lsub
lstore 1
end local 5 10: StackMap locals: org.xnio.channels.StreamSourceChannel long long top top top java.nio.ByteBuffer
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 5
11: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifle 12
lload 3
lreturn
12: StackMap locals:
StackMap stack:
aload 8
ifnonnull 13
getstatic org.xnio.channels.Channels.DRAIN_BUFFER:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 8
13: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.nio.ByteBuffer.limit:()I
i2l
lload 1
lcmp
ifle 14
aload 8
lload 1
l2i
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
14: StackMap locals:
StackMap stack:
aload 0
aload 8
invokeinterface org.xnio.channels.StreamSourceChannel.read:(Ljava/nio/ByteBuffer;)I
istore 7
start local 7 15: aload 8
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
16: iload 7
tableswitch { // -1 - 0
-1: 17
0: 20
default: 21
}
17: StackMap locals: org.xnio.channels.StreamSourceChannel long long top top int java.nio.ByteBuffer
StackMap stack:
lload 3
lconst_0
lcmp
ifne 18
ldc -1
goto 19
StackMap locals:
StackMap stack:
18: lload 3
StackMap locals:
StackMap stack: long
19: lreturn
20: StackMap locals:
StackMap stack:
lload 3
lreturn
21: StackMap locals:
StackMap stack:
lload 3
iload 7
i2l
ladd
lstore 3
lload 1
iload 7
i2l
lsub
lstore 1
end local 7 22: goto 2
end local 8 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 channel Lorg/xnio/channels/StreamSourceChannel;
0 23 1 count J
1 23 3 total J
6 10 5 lres J
15 22 7 ires I
2 23 8 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
count
public static long drain(java.nio.channels.ReadableByteChannel, long);
descriptor: (Ljava/nio/channels/ReadableByteChannel;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.xnio.channels.StreamSourceChannel
ifeq 2
1: aload 0
checkcast org.xnio.channels.StreamSourceChannel
lload 1
invokestatic org.xnio.channels.Channels.drain:(Lorg/xnio/channels/StreamSourceChannel;J)J
lreturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 3
start local 3 3: aconst_null
astore 8
start local 8 4: StackMap locals: java.nio.channels.ReadableByteChannel long long top top top java.nio.ByteBuffer
StackMap stack:
lload 1
lconst_0
lcmp
ifne 5
lload 3
lreturn
5: StackMap locals:
StackMap stack:
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
ifnull 14
6: goto 12
7: StackMap locals:
StackMap stack:
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
aload 0
lconst_0
lload 1
invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
dup2
lstore 5
start local 5 8: lconst_0
lcmp
ifne 10
9: goto 13
10: StackMap locals: java.nio.channels.ReadableByteChannel long long long top java.nio.ByteBuffer
StackMap stack:
lload 3
lload 5
ladd
lstore 3
11: lload 1
lload 5
lsub
lstore 1
end local 5 12: StackMap locals: java.nio.channels.ReadableByteChannel long long top top top java.nio.ByteBuffer
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 7
13: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifle 14
lload 3
lreturn
14: StackMap locals:
StackMap stack:
aload 8
ifnonnull 15
getstatic org.xnio.channels.Channels.DRAIN_BUFFER:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 8
15: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.nio.ByteBuffer.limit:()I
i2l
lload 1
lcmp
ifle 16
aload 8
lload 1
l2i
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
16: StackMap locals:
StackMap stack:
aload 0
aload 8
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
istore 7
start local 7 17: aload 8
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
18: iload 7
tableswitch { // -1 - 0
-1: 19
0: 22
default: 23
}
19: StackMap locals: java.nio.channels.ReadableByteChannel long long top top int java.nio.ByteBuffer
StackMap stack:
lload 3
lconst_0
lcmp
ifne 20
ldc -1
goto 21
StackMap locals:
StackMap stack:
20: lload 3
StackMap locals:
StackMap stack: long
21: lreturn
22: StackMap locals:
StackMap stack:
lload 3
lreturn
23: StackMap locals:
StackMap stack:
lload 3
iload 7
i2l
ladd
lstore 3
lload 1
iload 7
i2l
lsub
lstore 1
end local 7 24: goto 4
end local 8 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 channel Ljava/nio/channels/ReadableByteChannel;
0 25 1 count J
3 25 3 total J
8 12 5 lres J
17 24 7 ires I
4 25 8 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
count
public static long drain(java.nio.channels.FileChannel, long, long);
descriptor: (Ljava/nio/channels/FileChannel;JJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 3 0: aload 0
instanceof org.xnio.channels.StreamSourceChannel
ifeq 2
1: aload 0
checkcast org.xnio.channels.StreamSourceChannel
lload 3
invokestatic org.xnio.channels.Channels.drain:(Lorg/xnio/channels/StreamSourceChannel;J)J
lreturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 5
start local 5 3: aconst_null
astore 10
start local 10 4: StackMap locals: java.nio.channels.FileChannel long long long top top top java.nio.ByteBuffer
StackMap stack:
lload 3
lconst_0
lcmp
ifne 5
lload 5
lreturn
5: StackMap locals:
StackMap stack:
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
ifnull 14
6: goto 12
7: StackMap locals:
StackMap stack:
aload 0
lload 1
lload 3
getstatic org.xnio.channels.Channels.NULL_FILE_CHANNEL:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.transferTo:(JJLjava/nio/channels/WritableByteChannel;)J
dup2
lstore 7
start local 7 8: lconst_0
lcmp
ifne 10
9: goto 13
10: StackMap locals: java.nio.channels.FileChannel long long long long top java.nio.ByteBuffer
StackMap stack:
lload 5
lload 7
ladd
lstore 5
11: lload 3
lload 7
lsub
lstore 3
end local 7 12: StackMap locals: java.nio.channels.FileChannel long long long top top top java.nio.ByteBuffer
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 7
13: StackMap locals:
StackMap stack:
lload 5
lconst_0
lcmp
ifle 14
lload 5
lreturn
14: StackMap locals:
StackMap stack:
aload 10
ifnonnull 15
getstatic org.xnio.channels.Channels.DRAIN_BUFFER:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 10
15: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.nio.ByteBuffer.limit:()I
i2l
lload 3
lcmp
ifle 16
aload 10
lload 3
l2i
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
16: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
istore 9
start local 9 17: aload 10
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
18: iload 9
tableswitch { // -1 - 0
-1: 19
0: 22
default: 23
}
19: StackMap locals: java.nio.channels.FileChannel long long long top top int java.nio.ByteBuffer
StackMap stack:
lload 5
lconst_0
lcmp
ifne 20
ldc -1
goto 21
StackMap locals:
StackMap stack:
20: lload 5
StackMap locals:
StackMap stack: long
21: lreturn
22: StackMap locals:
StackMap stack:
lload 5
lreturn
23: StackMap locals:
StackMap stack:
lload 5
iload 9
i2l
ladd
lstore 5
end local 9 24: goto 4
end local 10 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 channel Ljava/nio/channels/FileChannel;
0 25 1 position J
0 25 3 count J
3 25 5 total J
8 12 7 lres J
17 24 9 ires I
4 25 10 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
position
count
public static void resumeReadsAsync(org.xnio.channels.SuspendableReadChannel);
descriptor: (Lorg/xnio/channels/SuspendableReadChannel;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.xnio.channels.SuspendableReadChannel.getIoThread:()Lorg/xnio/XnioIoThread;
astore 1
start local 1 1: aload 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpne 4
2: aload 0
invokeinterface org.xnio.channels.SuspendableReadChannel.resumeReads:()V
3: goto 5
4: StackMap locals: org.xnio.XnioIoThread
StackMap stack:
aload 1
new org.xnio.channels.Channels$3
dup
aload 0
invokespecial org.xnio.channels.Channels$3.<init>:(Lorg/xnio/channels/SuspendableReadChannel;)V
invokevirtual org.xnio.XnioIoThread.execute:(Ljava/lang/Runnable;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 channel Lorg/xnio/channels/SuspendableReadChannel;
1 6 1 ioThread Lorg/xnio/XnioIoThread;
MethodParameters:
Name Flags
channel final
public static void resumeWritesAsync(org.xnio.channels.SuspendableWriteChannel);
descriptor: (Lorg/xnio/channels/SuspendableWriteChannel;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.getIoThread:()Lorg/xnio/XnioIoThread;
astore 1
start local 1 1: aload 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpne 4
2: aload 0
invokeinterface org.xnio.channels.SuspendableWriteChannel.resumeWrites:()V
3: goto 5
4: StackMap locals: org.xnio.XnioIoThread
StackMap stack:
aload 1
new org.xnio.channels.Channels$4
dup
aload 0
invokespecial org.xnio.channels.Channels$4.<init>:(Lorg/xnio/channels/SuspendableWriteChannel;)V
invokevirtual org.xnio.XnioIoThread.execute:(Ljava/lang/Runnable;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 channel Lorg/xnio/channels/SuspendableWriteChannel;
1 6 1 ioThread Lorg/xnio/XnioIoThread;
MethodParameters:
Name Flags
channel final
public static int writeFinalBasic(org.xnio.channels.StreamSinkChannel, java.nio.ByteBuffer);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.xnio.channels.StreamSinkChannel.write:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 1: aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 3
2: aload 0
invokeinterface org.xnio.channels.StreamSinkChannel.shutdownWrites:()V
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel Lorg/xnio/channels/StreamSinkChannel;
0 4 1 src Ljava/nio/ByteBuffer;
1 4 2 res I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
src
public static long writeFinalBasic(org.xnio.channels.StreamSinkChannel, java.nio.ByteBuffer[], int, int);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;[Ljava/nio/ByteBuffer;II)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokeinterface org.xnio.channels.StreamSinkChannel.write:([Ljava/nio/ByteBuffer;II)J
lstore 4
start local 4 1: aload 1
iload 2
iload 3
invokestatic org.xnio.Buffers.hasRemaining:([Ljava/nio/Buffer;II)Z
ifne 3
2: aload 0
invokeinterface org.xnio.channels.StreamSinkChannel.shutdownWrites:()V
3: StackMap locals: long
StackMap stack:
lload 4
lreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel Lorg/xnio/channels/StreamSinkChannel;
0 4 1 srcs [Ljava/nio/ByteBuffer;
0 4 2 offset I
0 4 3 length I
1 4 4 res J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
channel
srcs
offset
length
}
SourceFile: "Channels.java"
NestMembers:
org.xnio.channels.Channels$1 org.xnio.channels.Channels$2 org.xnio.channels.Channels$3 org.xnio.channels.Channels$4
InnerClasses:
public abstract Setter = org.xnio.ChannelListener$Setter of org.xnio.ChannelListener
org.xnio.channels.Channels$1
org.xnio.channels.Channels$2
org.xnio.channels.Channels$3
org.xnio.channels.Channels$4