public class org.glassfish.grizzly.websockets.SimpleWebSocket implements org.glassfish.grizzly.websockets.WebSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.SimpleWebSocket
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.util.Queue<org.glassfish.grizzly.websockets.WebSocketListener> listeners;
descriptor: Ljava/util/Queue;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Queue<Lorg/glassfish/grizzly/websockets/WebSocketListener;>;
protected final org.glassfish.grizzly.websockets.ProtocolHandler protocolHandler;
descriptor: Lorg/glassfish/grizzly/websockets/ProtocolHandler;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.glassfish.grizzly.websockets.Broadcaster broadcaster;
descriptor: Lorg/glassfish/grizzly/websockets/Broadcaster;
flags: (0x0004) ACC_PROTECTED
protected final java.util.EnumSet<org.glassfish.grizzly.websockets.SimpleWebSocket$State> connected;
descriptor: Ljava/util/EnumSet;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/EnumSet<Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;>;
protected final java.util.concurrent.atomic.AtomicReference<org.glassfish.grizzly.websockets.SimpleWebSocket$State> state;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/websockets/DefaultWebSocket;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.websockets.SimpleWebSocket.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.websockets.ProtocolHandler, org.glassfish.grizzly.websockets.WebSocketListener[]);
descriptor: (Lorg/glassfish/grizzly/websockets/ProtocolHandler;[Lorg/glassfish/grizzly/websockets/WebSocketListener;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
2: aload 0
new org.glassfish.grizzly.websockets.DummyBroadcaster
dup
invokespecial org.glassfish.grizzly.websockets.DummyBroadcaster.<init>:()V
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
3: aload 0
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CLOSING:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokestatic java.util.EnumSet.range:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.connected:Ljava/util/EnumSet;
4: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.NEW:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
5: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
6: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket org.glassfish.grizzly.websockets.ProtocolHandler org.glassfish.grizzly.websockets.WebSocketListener[] top int int org.glassfish.grizzly.websockets.WebSocketListener[]
StackMap stack:
7: aload 6
iload 4
aaload
astore 3
start local 3 8: aload 0
aload 3
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.add:(Lorg/glassfish/grizzly/websockets/WebSocketListener;)Z
pop
end local 3 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 7
11: aload 1
aload 0
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.setWebSocket:(Lorg/glassfish/grizzly/websockets/WebSocket;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 13 1 protocolHandler Lorg/glassfish/grizzly/websockets/ProtocolHandler;
0 13 2 listeners [Lorg/glassfish/grizzly/websockets/WebSocketListener;
8 9 3 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
protocolHandler final
listeners final
public java.util.Collection<org.glassfish.grizzly.websockets.WebSocketListener> getListeners();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
Signature: ()Ljava/util/Collection<Lorg/glassfish/grizzly/websockets/WebSocketListener;>;
public final boolean add(org.glassfish.grizzly.websockets.WebSocketListener);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketListener;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
aload 1
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
listener
public final boolean remove(org.glassfish.grizzly.websockets.WebSocketListener);
descriptor: (Lorg/glassfish/grizzly/websockets/WebSocketListener;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
aload 1
invokeinterface java.util.Queue.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
listener
public boolean isConnected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.connected:Ljava/util/EnumSet;
aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
public void setClosed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CLOSED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
public void onClose(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CLOSING:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 4
1: aload 1
checkcast org.glassfish.grizzly.websockets.ClosingFrame
astore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 2
invokevirtual org.glassfish.grizzly.websockets.ClosingFrame.getCode:()I
aload 2
invokevirtual org.glassfish.grizzly.websockets.ClosingFrame.getTextPayload:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.close:(ILjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
pop
end local 2 3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CLOSED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
5: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.doClose:()V
6: goto 8
start local 2 7: StackMap locals: org.glassfish.grizzly.websockets.WebSocketListener
StackMap stack:
aload 2
aload 0
aload 1
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onClose:(Lorg/glassfish/grizzly/websockets/WebSocket;Lorg/glassfish/grizzly/websockets/DataFrame;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
dup
astore 2
start local 2 9: ifnonnull 7
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 11 1 frame Lorg/glassfish/grizzly/websockets/DataFrame;
2 3 2 closing Lorg/glassfish/grizzly/websockets/ClosingFrame;
7 8 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
9 11 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
frame final
public void onConnect();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 1
start local 1 3: aload 1
aload 0
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onConnect:(Lorg/glassfish/grizzly/websockets/WebSocket;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
3 4 1 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
public void onFragment(boolean, byte[]);
descriptor: (Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket int byte[] top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 3
start local 3 2: aload 3
aload 0
aload 2
iload 1
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onFragment:(Lorg/glassfish/grizzly/websockets/WebSocket;[BZ)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 last Z
0 5 2 fragment [B
2 3 3 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
last
fragment
public void onFragment(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket int java.lang.String top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 3
start local 3 2: aload 3
aload 0
aload 2
iload 1
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onFragment:(Lorg/glassfish/grizzly/websockets/WebSocket;Ljava/lang/String;Z)V
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 last Z
0 5 2 fragment Ljava/lang/String;
2 3 3 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
last
fragment
public void onMessage(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket byte[] top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 2
start local 2 2: aload 2
aload 0
aload 1
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onMessage:(Lorg/glassfish/grizzly/websockets/WebSocket;[B)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 data [B
2 3 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
data
public void onMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 2
start local 2 2: aload 2
aload 0
aload 1
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onMessage:(Lorg/glassfish/grizzly/websockets/WebSocket;Ljava/lang/String;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 text Ljava/lang/String;
2 3 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
text
public void onPing(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
new org.glassfish.grizzly.websockets.DataFrame
dup
new org.glassfish.grizzly.websockets.frametypes.PongFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.PongFrameType.<init>:()V
aload 1
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getBytes:()[B
invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;[B)V
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
pop
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket org.glassfish.grizzly.websockets.DataFrame top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 2
start local 2 3: aload 2
aload 0
aload 1
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getBytes:()[B
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onPing:(Lorg/glassfish/grizzly/websockets/WebSocket;[B)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 6 1 frame Lorg/glassfish/grizzly/websockets/DataFrame;
3 4 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
frame
public void onPong(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.listeners:Ljava/util/Queue;
invokeinterface java.util.Queue.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.glassfish.grizzly.websockets.SimpleWebSocket org.glassfish.grizzly.websockets.DataFrame top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.WebSocketListener
astore 2
start local 2 2: aload 2
aload 0
aload 1
invokevirtual org.glassfish.grizzly.websockets.DataFrame.getBytes:()[B
invokeinterface org.glassfish.grizzly.websockets.WebSocketListener.onPong:(Lorg/glassfish/grizzly/websockets/WebSocket;[B)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 frame Lorg/glassfish/grizzly/websockets/DataFrame;
2 3 2 listener Lorg/glassfish/grizzly/websockets/WebSocketListener;
MethodParameters:
Name Flags
frame
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
sipush 1000
aconst_null
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.close:(ILjava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
public void close(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.close:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 2 1 code I
MethodParameters:
Name Flags
code
public void close(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CLOSING:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
iload 1
aload 2
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.close:(ILjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 code I
0 3 2 reason Ljava/lang/String;
MethodParameters:
Name Flags
code
reason
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.isConnected:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 1
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:([B)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is not connected."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 data [B
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.isConnected:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 1
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is not connected."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 data Ljava/lang/String;
Signature: (Ljava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public void broadcast(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, java.lang.String);
descriptor: (Ljava/lang/Iterable;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
if_acmpne 3
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.websockets.Broadcaster.broadcast:(Ljava/lang/Iterable;Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is already closed."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
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/websockets/SimpleWebSocket;
0 5 1 recipients Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;
0 5 2 data Ljava/lang/String;
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
recipients
data
public void broadcast(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, );
descriptor: (Ljava/lang/Iterable;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
if_acmpne 3
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.websockets.Broadcaster.broadcast:(Ljava/lang/Iterable;[B)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is already closed."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
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/websockets/SimpleWebSocket;
0 5 1 recipients Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;
0 5 2 data [B
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;[B)V
MethodParameters:
Name Flags
recipients
data
public void broadcastFragment(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, java.lang.String, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
if_acmpne 3
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
aload 1
aload 2
iload 3
invokeinterface org.glassfish.grizzly.websockets.Broadcaster.broadcastFragment:(Ljava/lang/Iterable;Ljava/lang/String;Z)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is already closed."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 recipients Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;
0 5 2 data Ljava/lang/String;
0 5 3 last Z
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
recipients
data
last
public void broadcastFragment(java.lang.Iterable<? extends org.glassfish.grizzly.websockets.WebSocket>, byte[], );
descriptor: (Ljava/lang/Iterable;[BZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.state:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
getstatic org.glassfish.grizzly.websockets.SimpleWebSocket$State.CONNECTED:Lorg/glassfish/grizzly/websockets/SimpleWebSocket$State;
if_acmpne 3
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
aload 1
aload 2
iload 3
invokeinterface org.glassfish.grizzly.websockets.Broadcaster.broadcastFragment:(Ljava/lang/Iterable;[BZ)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is already closed."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 5 1 recipients Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;
0 5 2 data [B
0 5 3 last Z
Signature: (Ljava/lang/Iterable<+Lorg/glassfish/grizzly/websockets/WebSocket;>;[BZ)V
MethodParameters:
Name Flags
recipients
data
last
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> sendPing(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.glassfish.grizzly.websockets.DataFrame
dup
new org.glassfish.grizzly.websockets.frametypes.PingFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.PingFrameType.<init>:()V
aload 1
invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;[B)V
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 data [B
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> sendPong(byte[]);
descriptor: ([B)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.glassfish.grizzly.websockets.DataFrame
dup
new org.glassfish.grizzly.websockets.frametypes.PongFrameType
dup
invokespecial org.glassfish.grizzly.websockets.frametypes.PongFrameType.<init>:()V
aload 1
invokespecial org.glassfish.grizzly.websockets.DataFrame.<init>:(Lorg/glassfish/grizzly/websockets/FrameType;[B)V
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 data [B
Signature: ([B)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
data
private org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> send(org.glassfish.grizzly.websockets.DataFrame);
descriptor: (Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.isConnected:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 1
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.send:(Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is not connected."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 frame Lorg/glassfish/grizzly/websockets/DataFrame;
Signature: (Lorg/glassfish/grizzly/websockets/DataFrame;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
frame
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.isConnected:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
iload 1
aload 2
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.stream:(ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is not connected."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 last Z
0 3 2 fragment Ljava/lang/String;
Signature: (ZLjava/lang/String;)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
last
fragment
public org.glassfish.grizzly.GrizzlyFuture<org.glassfish.grizzly.websockets.DataFrame> stream(boolean, byte[], int, int);
descriptor: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.isConnected:()Z
ifeq 2
1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
iload 1
aload 2
iload 3
iload 4
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.stream:(Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Socket is not connected."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 3 1 last Z
0 3 2 bytes [B
0 3 3 off I
0 3 4 len I
Signature: (Z[BII)Lorg/glassfish/grizzly/GrizzlyFuture<Lorg/glassfish/grizzly/websockets/DataFrame;>;
MethodParameters:
Name Flags
last
bytes
off
len
protected byte[] toRawData(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.toRawData:(Ljava/lang/String;Z)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
protected byte[] toRawData(byte[]);
descriptor: ([B)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.glassfish.grizzly.websockets.SimpleWebSocket.toRawData:([BZ)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 1 1 binary [B
MethodParameters:
Name Flags
binary
protected byte[] toRawData(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 1
iload 2
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:(Ljava/lang/String;Z)Lorg/glassfish/grizzly/websockets/DataFrame;
astore 3
start local 3 1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 3
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.frame:(Lorg/glassfish/grizzly/websockets/DataFrame;)[B
areturn
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/websockets/SimpleWebSocket;
0 2 1 fragment Ljava/lang/String;
0 2 2 last Z
1 2 3 dataFrame Lorg/glassfish/grizzly/websockets/DataFrame;
MethodParameters:
Name Flags
fragment
last
protected byte[] toRawData(byte[], boolean);
descriptor: ([BZ)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 1
iload 2
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.toDataFrame:([BZ)Lorg/glassfish/grizzly/websockets/DataFrame;
astore 3
start local 3 1: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
aload 3
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.frame:(Lorg/glassfish/grizzly/websockets/DataFrame;)[B
areturn
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/websockets/SimpleWebSocket;
0 2 1 binary [B
0 2 2 last Z
1 2 3 dataFrame Lorg/glassfish/grizzly/websockets/DataFrame;
MethodParameters:
Name Flags
binary
last
protected void sendRaw(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.protocolHandler:Lorg/glassfish/grizzly/websockets/ProtocolHandler;
invokevirtual org.glassfish.grizzly.websockets.ProtocolHandler.getConnection:()Lorg/glassfish/grizzly/Connection;
astore 2
start local 2 1: aload 2
invokeinterface org.glassfish.grizzly.Connection.getTransport:()Lorg/glassfish/grizzly/Transport;
invokeinterface org.glassfish.grizzly.Transport.getMemoryManager:()Lorg/glassfish/grizzly/memory/MemoryManager;
astore 3
start local 3 2: aload 3
aload 1
invokestatic org.glassfish.grizzly.memory.Buffers.wrap:(Lorg/glassfish/grizzly/memory/MemoryManager;[B)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 3: aload 4
iconst_0
invokeinterface org.glassfish.grizzly.Buffer.allowBufferDispose:(Z)V
4: aload 2
aload 4
invokeinterface org.glassfish.grizzly.Connection.write:(Ljava/lang/Object;)Lorg/glassfish/grizzly/GrizzlyFuture;
pop
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 6 1 rawData [B
1 6 2 connection Lorg/glassfish/grizzly/Connection;
2 6 3 mm Lorg/glassfish/grizzly/memory/MemoryManager;
3 6 4 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
rawData
protected org.glassfish.grizzly.websockets.Broadcaster getBroadcaster();
descriptor: ()Lorg/glassfish/grizzly/websockets/Broadcaster;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
protected void setBroadcaster(org.glassfish.grizzly.websockets.Broadcaster);
descriptor: (Lorg/glassfish/grizzly/websockets/Broadcaster;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.SimpleWebSocket.broadcaster:Lorg/glassfish/grizzly/websockets/Broadcaster;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/websockets/SimpleWebSocket;
0 2 1 broadcaster Lorg/glassfish/grizzly/websockets/Broadcaster;
MethodParameters:
Name Flags
broadcaster
}
SourceFile: "SimpleWebSocket.java"
NestMembers:
org.glassfish.grizzly.websockets.SimpleWebSocket$State
InnerClasses:
protected final State = org.glassfish.grizzly.websockets.SimpleWebSocket$State of org.glassfish.grizzly.websockets.SimpleWebSocket