class com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator implements com.mongodb.async.SingleResultCallback<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator
super_class: java.lang.Object
{
private final com.mongodb.internal.connection.InternalConnection internalConnection;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ConnectionDescription connectionDescription;
descriptor: Lcom/mongodb/connection/ConnectionDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.async.SingleResultCallback<java.lang.Void> callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
private final java.util.concurrent.atomic.AtomicInteger currentAuthenticatorIndex;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.mongodb.internal.connection.InternalStreamConnectionInitializer this$0;
descriptor: Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.InternalConnection, com.mongodb.connection.ConnectionDescription, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_m1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.currentAuthenticatorIndex:Ljava/util/concurrent/atomic/AtomicInteger;
3: aload 0
aload 2
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.internalConnection:Lcom/mongodb/internal/connection/InternalConnection;
4: aload 0
aload 3
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
5: aload 0
aload 4
putfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.callback:Lcom/mongodb/async/SingleResultCallback;
6: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$CompoundAuthenticator;
0 7 2 internalConnection Lcom/mongodb/internal/connection/InternalConnection;
0 7 3 connectionDescription Lcom/mongodb/connection/ConnectionDescription;
0 7 4 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
this$0 final
internalConnection final
connectionDescription final
callback final
public void onResult(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.completedAuthentication:()Z
ifeq 6
4: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.authenticateNext:()V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$CompoundAuthenticator;
0 8 1 result Ljava/lang/Void;
0 8 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
result final
t final
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getServerType:()Lcom/mongodb/connection/ServerType;
getstatic com.mongodb.connection.ServerType.REPLICA_SET_ARBITER:Lcom/mongodb/connection/ServerType;
if_acmpeq 1
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer.authenticators:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.authenticateNext:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$CompoundAuthenticator;
private boolean completedAuthentication();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.currentAuthenticatorIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer.authenticators:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$CompoundAuthenticator;
private void authenticateNext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.this$0:Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer;
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer.authenticators:Ljava/util/List;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.currentAuthenticatorIndex:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.mongodb.internal.connection.Authenticator
1: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.internalConnection:Lcom/mongodb/internal/connection/InternalConnection;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
aload 0
invokevirtual com.mongodb.internal.connection.Authenticator.authenticateAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/async/SingleResultCallback;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/InternalStreamConnectionInitializer$CompoundAuthenticator;
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 java.lang.Void
aload 2
invokevirtual com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator.onResult:(Ljava/lang/Void;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
SourceFile: "InternalStreamConnectionInitializer.java"
NestHost: com.mongodb.internal.connection.InternalStreamConnectionInitializer
InnerClasses:
private CompoundAuthenticator = com.mongodb.internal.connection.InternalStreamConnectionInitializer$CompoundAuthenticator of com.mongodb.internal.connection.InternalStreamConnectionInitializer