public abstract class org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter extends org.glassfish.grizzly.AbstractWriter<java.net.SocketAddress>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter
super_class: org.glassfish.grizzly.AbstractWriter
{
protected final org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport transport;
descriptor: Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport);
descriptor: (Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.grizzly.AbstractWriter.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 3 1 transport Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
MethodParameters:
Name Flags
transport
public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.MessageCloner<org.glassfish.grizzly.asyncqueue.WritableMessage>);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
aload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.glassfish.grizzly.Connection.getWriteTimeout:(Ljava/util/concurrent/TimeUnit;)J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 2 1 connection Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
0 2 2 dstAddress Ljava/net/SocketAddress;
0 2 3 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 2 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
0 2 5 messageCloner Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;>;
Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/MessageCloner<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;>;)V
MethodParameters:
Name Flags
connection final
dstAddress final
message final
completionHandler final
messageCloner final
public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.PushBackHandler);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface org.glassfish.grizzly.Connection.getWriteTimeout:(Ljava/util/concurrent/TimeUnit;)J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 2 1 connection Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
0 2 2 dstAddress Ljava/net/SocketAddress;
0 2 3 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 2 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
0 2 5 pushBackHandler Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;
Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
connection
dstAddress
message
completionHandler
pushBackHandler final
public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
lload 5
aload 7
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
1: return
end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 2 1 connection Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
0 2 2 dstAddress Ljava/net/SocketAddress;
0 2 3 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 2 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
0 2 5 timeout J
0 2 7 timeunit Ljava/util/concurrent/TimeUnit;
Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;JLjava/util/concurrent/TimeUnit;)V
MethodParameters:
Name Flags
connection
dstAddress
message
completionHandler
timeout
timeunit
public void write(org.glassfish.grizzly.Connection<java.net.SocketAddress>, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>, org.glassfish.grizzly.asyncqueue.PushBackHandler, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 8 0: aload 3
ifnonnull 3
1: new java.lang.IllegalStateException
dup
ldc "Message cannot be null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
aload 4
invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
ifnull 4
aload 1
instanceof org.glassfish.grizzly.nio.NIOConnection
ifne 6
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Connection should be NIOConnection and cannot be null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
aload 4
invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
5: return
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.nio.NIOConnection
astore 9
start local 9 7: aload 1
aload 3
aload 2
lconst_0
invokestatic org.glassfish.grizzly.WriteResult.create:(Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Ljava/lang/Object;J)Lorg/glassfish/grizzly/WriteResult;
astore 10
start local 10 8: aload 0
aload 9
aload 2
aload 3
aload 10
lload 6
aload 8
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write0:(Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;JLjava/util/concurrent/TimeUnit;)J
pop2
9: aload 5
ifnull 11
10: aload 5
aload 1
aload 3
invokeinterface org.glassfish.grizzly.asyncqueue.PushBackHandler.onAccept:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;)V
11: StackMap locals: org.glassfish.grizzly.nio.NIOConnection org.glassfish.grizzly.WriteResult
StackMap stack:
aload 4
ifnull 13
12: aload 4
aload 10
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.glassfish.grizzly.asyncqueue.WritableMessage.release:()Z
pop
14: goto 17
StackMap locals:
StackMap stack: java.io.IOException
15: astore 11
start local 11 16: aload 11
aload 4
invokestatic org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.failure:(Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
end local 11 17: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 18 1 connection Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;
0 18 2 dstAddress Ljava/net/SocketAddress;
0 18 3 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 18 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
0 18 5 pushBackHandler Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;
0 18 6 timeout J
0 18 8 timeunit Ljava/util/concurrent/TimeUnit;
7 18 9 nioConnection Lorg/glassfish/grizzly/nio/NIOConnection;
8 18 10 writeResult Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;
16 17 11 e Ljava/io/IOException;
Exception table:
from to target type
8 14 15 Class java.io.IOException
Signature: (Lorg/glassfish/grizzly/Connection<Ljava/net/SocketAddress;>;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;JLjava/util/concurrent/TimeUnit;)V
MethodParameters:
Name Flags
connection
dstAddress
message
completionHandler
pushBackHandler final
timeout
timeunit
protected long write0(org.glassfish.grizzly.nio.NIOConnection, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>, long, java.util.concurrent.TimeUnit);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;JLjava/util/concurrent/TimeUnit;)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=19, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 0: aload 1
invokevirtual org.glassfish.grizzly.nio.NIOConnection.getChannel:()Ljava/nio/channels/SelectableChannel;
astore 8
start local 8 1: getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 5
aload 7
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lstore 9
start local 9 2: aconst_null
astore 11
start local 11 3: aconst_null
astore 12
start local 12 4: iconst_0
istore 13
start local 13 5: iconst_0
istore 14
start local 14 6: aload 1
dup
astore 15
monitorenter
7: goto 24
8: StackMap locals: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter org.glassfish.grizzly.nio.NIOConnection java.net.SocketAddress org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult long java.util.concurrent.TimeUnit java.nio.channels.SelectableChannel long java.nio.channels.SelectionKey java.nio.channels.Selector int int org.glassfish.grizzly.nio.NIOConnection
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.writeNow0:(Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
lstore 16
start local 16 9: lload 16
lconst_0
lcmp
ifle 13
10: iconst_0
istore 13
11: iload 14
i2l
lload 16
ladd
l2i
istore 14
12: goto 24
13: StackMap locals: long
StackMap stack:
iinc 13 1
14: aload 12
ifnonnull 20
15: aload 0
getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.getSelectorPool:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorPool;
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorPool.poll:()Ljava/nio/channels/Selector;
astore 12
16: aload 12
ifnonnull 18
17: goto 24
18: StackMap locals:
StackMap stack:
aload 8
aload 12
iconst_4
invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;I)Ljava/nio/channels/SelectionKey;
astore 11
19: goto 21
20: StackMap locals:
StackMap stack:
aload 12
invokevirtual java.nio.channels.Selector.selectedKeys:()Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
21: StackMap locals:
StackMap stack:
aload 12
lload 9
invokevirtual java.nio.channels.Selector.select:(J)I
ifne 24
22: iload 13
iconst_2
if_icmple 24
23: new java.io.IOException
dup
ldc "Client disconnected"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 16 24: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.glassfish.grizzly.asyncqueue.WritableMessage.hasRemaining:()Z
ifne 8
25: aload 15
monitorexit
26: goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
27: aload 15
monitorexit
28: athrow
29: StackMap locals: org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter org.glassfish.grizzly.nio.NIOConnection java.net.SocketAddress org.glassfish.grizzly.asyncqueue.WritableMessage org.glassfish.grizzly.WriteResult long java.util.concurrent.TimeUnit java.nio.channels.SelectableChannel long java.nio.channels.SelectionKey java.nio.channels.Selector int int
StackMap stack: java.lang.Throwable
astore 18
30: aload 0
getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
aload 12
aload 11
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.recycleTemporaryArtifacts:(Ljava/nio/channels/Selector;Ljava/nio/channels/SelectionKey;)V
31: aload 18
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
invokeinterface org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport.getTemporarySelectorIO:()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorIO;
aload 12
aload 11
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorIO.recycleTemporaryArtifacts:(Ljava/nio/channels/Selector;Ljava/nio/channels/SelectionKey;)V
33: iload 14
i2l
lreturn
end local 14 end local 13 end local 12 end local 11 end local 9 end local 8 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 34 1 connection Lorg/glassfish/grizzly/nio/NIOConnection;
0 34 2 dstAddress Ljava/net/SocketAddress;
0 34 3 message Lorg/glassfish/grizzly/asyncqueue/WritableMessage;
0 34 4 currentResult Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;
0 34 5 timeout J
0 34 7 timeunit Ljava/util/concurrent/TimeUnit;
1 34 8 channel Ljava/nio/channels/SelectableChannel;
2 34 9 writeTimeout J
3 34 11 key Ljava/nio/channels/SelectionKey;
4 34 12 writeSelector Ljava/nio/channels/Selector;
5 34 13 attempts I
6 34 14 bytesWritten I
9 24 16 len J
Exception table:
from to target type
7 26 27 any
27 28 27 any
6 29 29 any
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;JLjava/util/concurrent/TimeUnit;)J
MethodParameters:
Name Flags
connection final
dstAddress final
message final
currentResult final
timeout final
timeunit final
public org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorsEnabledTransport getTransport();
descriptor: ()Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.transport:Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorsEnabledTransport;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
protected abstract long writeNow0(org.glassfish.grizzly.nio.NIOConnection, java.net.SocketAddress, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>);
descriptor: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult;)J
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/nio/NIOConnection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;)J
MethodParameters:
Name Flags
connection
dstAddress
message
currentResult
private static void failure(java.lang.Throwable, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.asyncqueue.WritableMessage, java.net.SocketAddress>>);
descriptor: (Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
aload 0
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 failure Ljava/lang/Throwable;
0 3 1 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;
Signature: (Ljava/lang/Throwable;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Ljava/net/SocketAddress;>;>;)V
MethodParameters:
Name Flags
failure final
completionHandler final
public boolean canWrite(org.glassfish.grizzly.Connection);
descriptor: (Lorg/glassfish/grizzly/Connection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 1 1 connection Lorg/glassfish/grizzly/Connection;
MethodParameters:
Name Flags
connection final
public void notifyWritePossible(org.glassfish.grizzly.Connection, org.glassfish.grizzly.WriteHandler);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/WriteHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.glassfish.grizzly.WriteHandler.onWritePossible:()V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: aload 2
aload 3
invokeinterface org.glassfish.grizzly.WriteHandler.onError:(Ljava/lang/Throwable;)V
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 this Lorg/glassfish/grizzly/nio/tmpselectors/TemporarySelectorWriter;
0 5 1 connection Lorg/glassfish/grizzly/Connection;
0 5 2 writeHandler Lorg/glassfish/grizzly/WriteHandler;
3 4 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
MethodParameters:
Name Flags
connection final
writeHandler final
public void write(org.glassfish.grizzly.Connection, java.lang.Object, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.asyncqueue.PushBackHandler);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
0: aload 0
aload 1
checkcast org.glassfish.grizzly.Connection
aload 2
checkcast java.net.SocketAddress
aload 3
aload 4
checkcast org.glassfish.grizzly.CompletionHandler
aload 5
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/PushBackHandler;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void write(org.glassfish.grizzly.Connection, java.lang.Object, org.glassfish.grizzly.asyncqueue.WritableMessage, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.asyncqueue.MessageCloner);
descriptor: (Lorg/glassfish/grizzly/Connection;Ljava/lang/Object;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
0: aload 0
aload 1
checkcast org.glassfish.grizzly.Connection
aload 2
checkcast java.net.SocketAddress
aload 3
aload 4
checkcast org.glassfish.grizzly.CompletionHandler
aload 5
invokevirtual org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write:(Lorg/glassfish/grizzly/Connection;Ljava/net/SocketAddress;Lorg/glassfish/grizzly/asyncqueue/WritableMessage;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/asyncqueue/MessageCloner;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/glassfish/grizzly/AbstractWriter<Ljava/net/SocketAddress;>;
SourceFile: "TemporarySelectorWriter.java"