class com.mongodb.internal.connection.InternalStreamConnectionInitializer$2 implements com.mongodb.async.SingleResultCallback<org.bson.BsonDocument>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.InternalStreamConnectionInitializer$2
super_class: java.lang.Object
{
final com.mongodb.internal.connection.InternalStreamConnectionInitializer this$0;
descriptor: Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
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
private final com.mongodb.internal.connection.InternalConnection val$internalConnection;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.InternalStreamConnectionInitializer, com.mongodb.async.SingleResultCallback, com.mongodb.internal.connection.InternalConnection);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/internal/connection/InternalConnection;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
aload 0
aload 2
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
aload 3
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$internalConnection:Lcom/mongodb/internal/connection/InternalConnection;
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/InternalStreamConnectionInitializer$2;
MethodParameters:
Name Flags
this$0 final
val$callback final
val$internalConnection final
public void onResult(org.bson.BsonDocument, java.lang.Throwable);
descriptor: (Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 10
1: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer.checkSaslSupportedMechs:Z
ifeq 8
aload 2
instanceof com.mongodb.MongoException
ifeq 8
2: aload 2
checkcast com.mongodb.MongoException
invokevirtual com.mongodb.MongoException.getCode:()I
bipush 11
if_icmpne 8
3: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer.authenticators:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.mongodb.internal.connection.Authenticator
invokevirtual com.mongodb.internal.connection.Authenticator.getMongoCredential:()Lcom/mongodb/MongoCredential;
astore 3
start local 3 4: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
new com.mongodb.MongoSecurityException
dup
aload 3
5: ldc "Exception authenticating %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial com.mongodb.MongoSecurityException.<init>:(Lcom/mongodb/MongoCredential;Ljava/lang/String;Ljava/lang/Throwable;)V
6: invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
9: goto 13
10: StackMap locals:
StackMap stack:
ldc "admin"
new org.bson.BsonDocument
dup
ldc "buildinfo"
new org.bson.BsonInt32
dup
iconst_1
invokespecial org.bson.BsonInt32.<init>:(I)V
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$internalConnection:Lcom/mongodb/internal/connection/InternalConnection;
11: new com.mongodb.internal.connection.InternalStreamConnectionInitializer$2$1
dup
aload 0
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.val$internalConnection:Lcom/mongodb/internal/connection/InternalConnection;
aload 1
invokespecial com.mongodb.internal.connection.InternalStreamConnectionInitializer$2$1.<init>:(Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$2;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/internal/connection/InternalConnection;Lorg/bson/BsonDocument;)V
12: invokestatic com.mongodb.internal.connection.CommandHelper.executeCommandAsync:(Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$2;
0 14 1 isMasterResult Lorg/bson/BsonDocument;
0 14 2 t Ljava/lang/Throwable;
4 7 3 credential Lcom/mongodb/MongoCredential;
MethodParameters:
Name Flags
isMasterResult 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 org.bson.BsonDocument
aload 2
invokevirtual com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.onResult:(Lorg/bson/BsonDocument;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
static com.mongodb.internal.connection.InternalStreamConnectionInitializer access$1(com.mongodb.internal.connection.InternalStreamConnectionInitializer$2);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$2;)Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lorg/bson/BsonDocument;>;
SourceFile: "InternalStreamConnectionInitializer.java"
EnclosingMethod: com.mongodb.internal.connection.InternalStreamConnectionInitializer.initializeConnectionDescriptionAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.internal.connection.InternalStreamConnectionInitializer
InnerClasses:
com.mongodb.internal.connection.InternalStreamConnectionInitializer$2
com.mongodb.internal.connection.InternalStreamConnectionInitializer$2$1