public class com.oracle.svm.hosted.server.StreamingServerMessageOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.server.StreamingServerMessageOutputStream
super_class: java.io.OutputStream
{
private final com.oracle.svm.hosted.server.SubstrateServerMessage$ServerCommand command;
descriptor: Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.DataOutputStream original;
descriptor: Ljava/io/DataOutputStream;
flags: (0x0002) ACC_PRIVATE
private volatile boolean interrupted;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean writing;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void setOriginal(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.DataOutputStream
dup
aload 1
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.original:Ljava/io/DataOutputStream;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
0 2 1 original Ljava/io/OutputStream;
MethodParameters:
Name Flags
original
void <init>(com.oracle.svm.hosted.server.SubstrateServerMessage$ServerCommand, java.io.OutputStream);
descriptor: (Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;Ljava/io/OutputStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.io.OutputStream.<init>:()V
1: aload 0
aload 1
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.command:Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;
2: aload 0
new java.io.DataOutputStream
dup
aload 2
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.original:Ljava/io/DataOutputStream;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
0 4 1 command Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;
0 4 2 original Ljava/io/OutputStream;
MethodParameters:
Name Flags
command
original
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
newarray 8
dup
iconst_0
iload 1
i2b
bastore
iconst_0
iconst_1
invokevirtual com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
0 2 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.interrupted:Z
ifeq 2
1: new java.nio.channels.ClosedByInterruptException
dup
invokespecial java.nio.channels.ClosedByInterruptException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.writing:Z
3: new com.oracle.svm.hosted.server.SubstrateServerMessage
dup
aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.command:Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;
aload 1
iload 2
iload 3
invokespecial com.oracle.svm.hosted.server.SubstrateServerMessage.<init>:(Lcom/oracle/svm/hosted/server/SubstrateServerMessage$ServerCommand;[BII)V
astore 4
start local 4 4: aload 4
aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.original:Ljava/io/DataOutputStream;
invokestatic com.oracle.svm.hosted.server.SubstrateServerMessage.send:(Lcom/oracle/svm/hosted/server/SubstrateServerMessage;Ljava/io/DataOutputStream;)V
end local 4 5: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 5
7: aload 0
iconst_0
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.writing:Z
8: aload 5
athrow
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.writing:Z
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
0 11 1 b [B
0 11 2 off I
0 11 3 len I
4 5 4 message Lcom/oracle/svm/hosted/server/SubstrateServerMessage;
Exception table:
from to target type
3 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.original:Ljava/io/DataOutputStream;
invokevirtual java.io.DataOutputStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.original:Ljava/io/DataOutputStream;
invokevirtual java.io.DataOutputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
Exceptions:
throws java.io.IOException
void writingInterrupted(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.interrupted:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
0 2 1 value Z
MethodParameters:
Name Flags
value
public boolean isWriting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.server.StreamingServerMessageOutputStream.writing:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/server/StreamingServerMessageOutputStream;
}
SourceFile: "StreamingServerMessageOutputStream.java"
InnerClasses:
public final ServerCommand = com.oracle.svm.hosted.server.SubstrateServerMessage$ServerCommand of com.oracle.svm.hosted.server.SubstrateServerMessage