class com.mongodb.internal.connection.InternalStreamConnection$2 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.InternalStreamConnection$2
super_class: java.lang.Object
{
final com.mongodb.internal.connection.InternalStreamConnection this$0;
descriptor: Lcom/mongodb/internal/connection/InternalStreamConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.connection.ByteBufferBsonOutput val$bsonOutput;
descriptor: Lcom/mongodb/connection/ByteBufferBsonOutput;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.CommandEventSender val$commandEventSender;
descriptor: Lcom/mongodb/internal/connection/CommandEventSender;
flags: (0x1012) ACC_PRIVATE, 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 boolean val$responseExpected;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.session.SessionContext val$sessionContext;
descriptor: Lcom/mongodb/session/SessionContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$messageId;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.bson.codecs.Decoder val$decoder;
descriptor: Lorg/bson/codecs/Decoder;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.InternalStreamConnection, com.mongodb.connection.ByteBufferBsonOutput, com.mongodb.internal.connection.CommandEventSender, com.mongodb.async.SingleResultCallback, boolean, com.mongodb.session.SessionContext, int, org.bson.codecs.Decoder);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnection;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/internal/connection/CommandEventSender;Lcom/mongodb/async/SingleResultCallback;ZLcom/mongodb/session/SessionContext;ILorg/bson/codecs/Decoder;)V
flags: (0x0000)
Code:
stack=2, locals=9, args_size=9
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.InternalStreamConnection$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnection;
aload 0
aload 2
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$bsonOutput:Lcom/mongodb/connection/ByteBufferBsonOutput;
aload 0
aload 3
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$commandEventSender:Lcom/mongodb/internal/connection/CommandEventSender;
aload 0
aload 4
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
iload 5
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$responseExpected:Z
aload 0
aload 6
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$sessionContext:Lcom/mongodb/session/SessionContext;
aload 0
iload 7
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$messageId:I
aload 0
aload 8
putfield com.mongodb.internal.connection.InternalStreamConnection$2.val$decoder:Lorg/bson/codecs/Decoder;
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$2;
MethodParameters:
Name Flags
this$0 final
val$bsonOutput final
val$commandEventSender final
val$callback final
val$responseExpected final
val$sessionContext final
val$messageId final
val$decoder final
public void onResult(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$bsonOutput:Lcom/mongodb/connection/ByteBufferBsonOutput;
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.close:()V
1: aload 2
ifnull 5
2: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$commandEventSender:Lcom/mongodb/internal/connection/CommandEventSender;
aload 2
invokeinterface com.mongodb.internal.connection.CommandEventSender.sendFailedEvent:(Ljava/lang/Throwable;)V
3: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: goto 10
StackMap locals:
StackMap stack:
5: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$responseExpected:Z
ifne 9
6: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$commandEventSender:Lcom/mongodb/internal/connection/CommandEventSender;
invokeinterface com.mongodb.internal.connection.CommandEventSender.sendSucceededEventForOneWayCommand:()V
7: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnection;
bipush 16
new com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback
dup
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnection;
new com.mongodb.internal.connection.InternalStreamConnection$2$1
dup
aload 0
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$commandEventSender:Lcom/mongodb/internal/connection/CommandEventSender;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$sessionContext:Lcom/mongodb/session/SessionContext;
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$messageId:I
aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.val$decoder:Lorg/bson/codecs/Decoder;
invokespecial com.mongodb.internal.connection.InternalStreamConnection$2$1.<init>:(Lcom/mongodb/internal/connection/InternalStreamConnection$2;Lcom/mongodb/internal/connection/CommandEventSender;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/session/SessionContext;ILorg/bson/codecs/Decoder;)V
invokespecial com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.<init>:(Lcom/mongodb/internal/connection/InternalStreamConnection;Lcom/mongodb/async/SingleResultCallback;)V
invokevirtual com.mongodb.internal.connection.InternalStreamConnection.readAsync:(ILcom/mongodb/async/SingleResultCallback;)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$2;
0 11 1 result Ljava/lang/Void;
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 java.lang.Void
aload 2
invokevirtual com.mongodb.internal.connection.InternalStreamConnection$2.onResult:(Ljava/lang/Void;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
static com.mongodb.internal.connection.InternalStreamConnection access$1(com.mongodb.internal.connection.InternalStreamConnection$2);
descriptor: (Lcom/mongodb/internal/connection/InternalStreamConnection$2;)Lcom/mongodb/internal/connection/InternalStreamConnection;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.mongodb.internal.connection.InternalStreamConnection$2.this$0:Lcom/mongodb/internal/connection/InternalStreamConnection;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
SourceFile: "InternalStreamConnection.java"
EnclosingMethod: com.mongodb.internal.connection.InternalStreamConnection.sendCommandMessageAsync:(ILorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/internal/connection/CommandEventSender;Z)V
NestHost: com.mongodb.internal.connection.InternalStreamConnection
InnerClasses:
com.mongodb.internal.connection.InternalStreamConnection$2
com.mongodb.internal.connection.InternalStreamConnection$2$1
private MessageHeaderCallback = com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback of com.mongodb.internal.connection.InternalStreamConnection