class com.mongodb.internal.connection.InternalStreamConnection$1$1 implements com.mongodb.async.SingleResultCallback<com.mongodb.connection.ConnectionDescription>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.InternalStreamConnection$1$1
super_class: java.lang.Object
{
final com.mongodb.internal.connection.InternalStreamConnection$1 this$1;
descriptor: Lcom/mongodb/internal/connection/InternalStreamConnection$1;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.InternalStreamConnection$1, com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnection$1;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
aload 0
aload 2
putfield com.mongodb.internal.connection.InternalStreamConnection$1$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/InternalStreamConnection$1$1;
MethodParameters:
Name Flags
this$0 final
val$callback final
public void onResult(com.mongodb.connection.ConnectionDescription, java.lang.Throwable);
descriptor: (Lcom/mongodb/connection/ConnectionDescription;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 4
1: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
invokevirtual com.mongodb.internal.connection.InternalStreamConnection.close:()V
2: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
3: goto 10
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
aload 1
putfield com.mongodb.internal.connection.InternalStreamConnection.description:Lcom/mongodb/connection/ConnectionDescription;
5: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
getfield com.mongodb.internal.connection.InternalStreamConnection.opened:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
6: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
getfield com.mongodb.internal.connection.InternalStreamConnection.description:Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.internal.connection.InternalStreamConnection.findSendCompressor:(Lcom/mongodb/connection/ConnectionDescription;)Lcom/mongodb/internal/connection/Compressor;
putfield com.mongodb.internal.connection.InternalStreamConnection.sendCompressor:Lcom/mongodb/internal/connection/Compressor;
7: getstatic com.mongodb.internal.connection.InternalStreamConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isInfoEnabled:()Z
ifeq 9
8: getstatic com.mongodb.internal.connection.InternalStreamConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Opened connection [%s] to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
invokevirtual com.mongodb.internal.connection.InternalStreamConnection.getId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_1
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.this$1:Lcom/mongodb/internal/connection/InternalStreamConnection$1;
invokestatic com.mongodb.internal.connection.InternalStreamConnection$1.access$1:(Lcom/mongodb/internal/connection/InternalStreamConnection$1;)Lcom/mongodb/internal/connection/InternalStreamConnection;
getfield com.mongodb.internal.connection.InternalStreamConnection.serverId:Lcom/mongodb/connection/ServerId;
invokevirtual com.mongodb.connection.ServerId.getAddress:()Lcom/mongodb/ServerAddress;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.info:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$1$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/internal/connection/InternalStreamConnection$1$1;
0 11 1 result Lcom/mongodb/connection/ConnectionDescription;
0 11 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
result final
t final
public void onResult(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.mongodb.connection.ConnectionDescription
aload 2
invokevirtual com.mongodb.internal.connection.InternalStreamConnection$1$1.onResult:(Lcom/mongodb/connection/ConnectionDescription;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/ConnectionDescription;>;
SourceFile: "InternalStreamConnection.java"
EnclosingMethod: com.mongodb.internal.connection.InternalStreamConnection$1.completed:(Ljava/lang/Void;)V
NestHost: com.mongodb.internal.connection.InternalStreamConnection
InnerClasses:
com.mongodb.internal.connection.InternalStreamConnection$1
com.mongodb.internal.connection.InternalStreamConnection$1$1