public class io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl extends io.vertx.ext.stomp.impl.StompServerTCPConnectionImpl implements io.vertx.ext.stomp.StompServerConnection
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl
super_class: io.vertx.ext.stomp.impl.StompServerTCPConnectionImpl
{
private final io.vertx.core.http.ServerWebSocket socket;
descriptor: Lio/vertx/core/http/ServerWebSocket;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.core.http.ServerWebSocket, io.vertx.ext.stomp.StompServer, io.vertx.core.Handler<io.vertx.ext.stomp.ServerFrame>);
descriptor: (Lio/vertx/core/http/ServerWebSocket;Lio/vertx/ext/stomp/StompServer;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial io.vertx.ext.stomp.impl.StompServerTCPConnectionImpl.<init>:(Lio/vertx/ext/stomp/StompServer;Lio/vertx/core/Handler;)V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
putfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.socket:Lio/vertx/core/http/ServerWebSocket;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/stomp/impl/StompServerWebSocketConnectionImpl;
0 4 1 socket Lio/vertx/core/http/ServerWebSocket;
0 4 2 server Lio/vertx/ext/stomp/StompServer;
0 4 3 writtenFrameHandler Lio/vertx/core/Handler<Lio/vertx/ext/stomp/ServerFrame;>;
Signature: (Lio/vertx/core/http/ServerWebSocket;Lio/vertx/ext/stomp/StompServer;Lio/vertx/core/Handler<Lio/vertx/ext/stomp/ServerFrame;>;)V
MethodParameters:
Name Flags
socket
server
writtenFrameHandler
public io.vertx.ext.stomp.StompServerConnection write(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/ext/stomp/StompServerConnection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.socket:Lio/vertx/core/http/ServerWebSocket;
aload 1
invokeinterface io.vertx.core.http.ServerWebSocket.writeBinaryMessage:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/ServerWebSocket;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/stomp/impl/StompServerWebSocketConnectionImpl;
0 2 1 buffer Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
buffer
public void ping();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.handler:Lio/vertx/core/Handler;
ifnull 2
1: aload 0
getfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.handler:Lio/vertx/core/Handler;
new io.vertx.ext.stomp.impl.ServerFrameImpl
dup
getstatic io.vertx.ext.stomp.Frames.PING:Lio/vertx/ext/stomp/Frame;
aload 0
invokespecial io.vertx.ext.stomp.impl.ServerFrameImpl.<init>:(Lio/vertx/ext/stomp/Frame;Lio/vertx/ext/stomp/StompServerConnection;)V
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.socket:Lio/vertx/core/http/ServerWebSocket;
ldc "\n"
invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.http.ServerWebSocket.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/http/ServerWebSocket;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/stomp/impl/StompServerWebSocketConnectionImpl;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.cancelHeartbeat:()V
1: aload 0
invokevirtual io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.handler:()Lio/vertx/ext/stomp/StompServerHandler;
aload 0
invokeinterface io.vertx.ext.stomp.StompServerHandler.onClose:(Lio/vertx/ext/stomp/StompServerConnection;)V
2: aload 0
getfield io.vertx.ext.stomp.impl.StompServerWebSocketConnectionImpl.socket:Lio/vertx/core/http/ServerWebSocket;
invokeinterface io.vertx.core.http.ServerWebSocket.close:()V
3: goto 5
StackMap locals:
StackMap stack: java.lang.IllegalStateException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/ext/stomp/impl/StompServerWebSocketConnectionImpl;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalStateException
}
SourceFile: "StompServerWebSocketConnectionImpl.java"