public class io.vertx.pgclient.impl.PgSocketConnection extends io.vertx.sqlclient.impl.SocketConnectionBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.pgclient.impl.PgSocketConnection
super_class: io.vertx.sqlclient.impl.SocketConnectionBase
{
private io.vertx.pgclient.impl.codec.PgCodec codec;
descriptor: Lio/vertx/pgclient/impl/codec/PgCodec;
flags: (0x0002) ACC_PRIVATE
public int processId;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int secretKey;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public void <init>(io.vertx.core.impl.NetSocketInternal, boolean, int, int, int, io.vertx.core.Context);
descriptor: (Lio/vertx/core/impl/NetSocketInternal;ZIIILio/vertx/core/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
aload 6
invokespecial io.vertx.sqlclient.impl.SocketConnectionBase.<init>:(Lio/vertx/core/impl/NetSocketInternal;ZIIILio/vertx/core/Context;)V
1: return
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 2 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
0 2 1 socket Lio/vertx/core/impl/NetSocketInternal;
0 2 2 cachePreparedStatements Z
0 2 3 preparedStatementCacheSize I
0 2 4 preparedStatementCacheSqlLimit I
0 2 5 pipeliningLimit I
0 2 6 context Lio/vertx/core/Context;
MethodParameters:
Name Flags
socket
cachePreparedStatements
preparedStatementCacheSize
preparedStatementCacheSqlLimit
pipeliningLimit
context
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
new io.vertx.pgclient.impl.codec.PgCodec
dup
invokespecial io.vertx.pgclient.impl.codec.PgCodec.<init>:()V
putfield io.vertx.pgclient.impl.PgSocketConnection.codec:Lio/vertx/pgclient/impl/codec/PgCodec;
1: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.socket:Lio/vertx/core/impl/NetSocketInternal;
invokeinterface io.vertx.core.impl.NetSocketInternal.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 1
start local 1 2: aload 1
ldc "handler"
ldc "codec"
aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.codec:Lio/vertx/pgclient/impl/codec/PgCodec;
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
3: aload 0
invokespecial io.vertx.sqlclient.impl.SocketConnectionBase.init:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
2 5 1 pipeline Lio/netty/channel/ChannelPipeline;
public void sendStartupMessage(java.lang.String, java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>, io.vertx.core.Handler<? super io.vertx.sqlclient.impl.command.CommandResponse<io.vertx.sqlclient.impl.Connection>>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new io.vertx.sqlclient.impl.command.InitCommand
dup
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial io.vertx.sqlclient.impl.command.InitCommand.<init>:(Lio/vertx/sqlclient/impl/SocketConnectionBase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
astore 6
start local 6 1: aload 6
aload 5
putfield io.vertx.sqlclient.impl.command.InitCommand.handler:Lio/vertx/core/Handler;
2: aload 0
aload 6
invokevirtual io.vertx.pgclient.impl.PgSocketConnection.schedule:(Lio/vertx/sqlclient/impl/command/CommandBase;)V
3: return
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 4 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
0 4 1 username Ljava/lang/String;
0 4 2 password Ljava/lang/String;
0 4 3 database Ljava/lang/String;
0 4 4 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 4 5 completionHandler Lio/vertx/core/Handler<-Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/Connection;>;>;
1 4 6 cmd Lio/vertx/sqlclient/impl/command/InitCommand;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Lio/vertx/core/Handler<-Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/Connection;>;>;)V
MethodParameters:
Name Flags
username
password
database
properties
completionHandler
void sendCancelRequestMessage(int, int, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (IILio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: bipush 16
invokestatic io.vertx.core.buffer.Buffer.buffer:(I)Lio/vertx/core/buffer/Buffer;
astore 4
start local 4 1: aload 4
bipush 16
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
2: aload 4
ldc 80877102
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
3: aload 4
iload 1
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
4: aload 4
iload 2
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
5: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.socket:Lio/vertx/core/impl/NetSocketInternal;
aload 4
aload 0
aload 3
invokedynamic handle(Lio/vertx/pgclient/impl/PgSocketConnection;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/pgclient/impl/PgSocketConnection.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.impl.NetSocketInternal.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetSocket;
pop
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
0 7 1 processId I
0 7 2 secretKey I
0 7 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 7 4 buffer Lio/vertx/core/buffer/Buffer;
Signature: (IILio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
processId
secretKey
handler
public int getProcessId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.processId:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
public int getSecretKey();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.secretKey:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
void upgradeToSSLConnection(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.socket:Lio/vertx/core/impl/NetSocketInternal;
invokeinterface io.vertx.core.impl.NetSocketInternal.channelHandlerContext:()Lio/netty/channel/ChannelHandlerContext;
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 1: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 3
start local 3 2: aload 3
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 1
invokedynamic handle(Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/pgclient/impl/PgSocketConnection.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
3: aload 2
ldc "handler"
ldc "initiate-ssl-handler"
new io.vertx.pgclient.impl.InitiateSslHandler
dup
aload 0
aload 3
invokespecial io.vertx.pgclient.impl.InitiateSslHandler.<init>:(Lio/vertx/sqlclient/impl/SocketConnectionBase;Lio/vertx/core/Promise;)V
invokeinterface io.netty.channel.ChannelPipeline.addBefore:(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
0 5 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
1 5 2 pipeline Lio/netty/channel/ChannelPipeline;
2 5 3 upgradePromise Lio/vertx/core/Promise<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
private void lambda$0(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 6
1: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CONNECTED:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
if_acmpne 4
2: aload 0
getstatic io.vertx.sqlclient.impl.SocketConnectionBase$Status.CLOSING:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
putfield io.vertx.pgclient.impl.PgSocketConnection.status:Lio/vertx/sqlclient/impl/SocketConnectionBase$Status;
3: aload 0
getfield io.vertx.pgclient.impl.PgSocketConnection.socket:Lio/vertx/core/impl/NetSocketInternal;
invokeinterface io.vertx.core.impl.NetSocketInternal.close:()V
4: StackMap locals:
StackMap stack:
aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/pgclient/impl/PgSocketConnection;
0 8 2 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
private static void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 1 0: aload 1
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 8
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
astore 2
start local 2 4: aload 2
instanceof io.netty.handler.codec.DecoderException
ifeq 7
5: aload 2
checkcast io.netty.handler.codec.DecoderException
astore 3
start local 3 6: aload 3
invokevirtual io.netty.handler.codec.DecoderException.getCause:()Ljava/lang/Throwable;
astore 2
end local 3 7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 2
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 9 1 ar Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
4 8 2 cause Ljava/lang/Throwable;
6 7 3 err Lio/netty/handler/codec/DecoderException;
}
SourceFile: "PgSocketConnection.java"
InnerClasses:
public final Status = io.vertx.sqlclient.impl.SocketConnectionBase$Status of io.vertx.sqlclient.impl.SocketConnectionBase
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles