class com.mongodb.internal.connection.QueryProtocol$QueryResultCallback extends com.mongodb.internal.connection.ResponseCallback
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.QueryProtocol$QueryResultCallback
  super_class: com.mongodb.internal.connection.ResponseCallback
{
  private final com.mongodb.async.SingleResultCallback<com.mongodb.connection.QueryResult<T>> callback;
    descriptor: Lcom/mongodb/async/SingleResultCallback;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;

  private final com.mongodb.connection.ConnectionDescription connectionDescription;
    descriptor: Lcom/mongodb/connection/ConnectionDescription;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long startTimeNanos;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.internal.connection.QueryMessage message;
    descriptor: Lcom/mongodb/internal/connection/QueryMessage;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean isExplainEvent;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  final com.mongodb.internal.connection.QueryProtocol this$0;
    descriptor: Lcom/mongodb/internal/connection/QueryProtocol;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(com.mongodb.async.SingleResultCallback<com.mongodb.connection.QueryResult<T>>, int, long, com.mongodb.internal.connection.QueryMessage, boolean, com.mongodb.connection.ConnectionDescription);
    descriptor: (Lcom/mongodb/internal/connection/QueryProtocol;Lcom/mongodb/async/SingleResultCallback;IJLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/connection/ConnectionDescription;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=9, args_size=8
        start local 0 // com.mongodb.internal.connection.QueryProtocol$QueryResultCallback this
        start local 2 // com.mongodb.async.SingleResultCallback callback
        start local 3 // int requestId
        start local 4 // long startTimeNanos
        start local 6 // com.mongodb.internal.connection.QueryMessage message
        start local 7 // boolean isExplainEvent
        start local 8 // com.mongodb.connection.ConnectionDescription connectionDescription
         0: .line 508
            aload 0 /* this */
            aload 1
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
         1: .line 509
            aload 0 /* this */
            iload 3 /* requestId */
            i2l
            aload 8 /* connectionDescription */
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            invokespecial com.mongodb.internal.connection.ResponseCallback.<init>:(JLcom/mongodb/ServerAddress;)V
         2: .line 510
            aload 0 /* this */
            aload 2 /* callback */
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
         3: .line 511
            aload 0 /* this */
            lload 4 /* startTimeNanos */
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.startTimeNanos:J
         4: .line 512
            aload 0 /* this */
            aload 6 /* message */
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.message:Lcom/mongodb/internal/connection/QueryMessage;
         5: .line 513
            aload 0 /* this */
            iload 7 /* isExplainEvent */
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.isExplainEvent:Z
         6: .line 514
            aload 0 /* this */
            aload 8 /* connectionDescription */
            putfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
         7: .line 515
            return
        end local 8 // com.mongodb.connection.ConnectionDescription connectionDescription
        end local 7 // boolean isExplainEvent
        end local 6 // com.mongodb.internal.connection.QueryMessage message
        end local 4 // long startTimeNanos
        end local 3 // int requestId
        end local 2 // com.mongodb.async.SingleResultCallback callback
        end local 0 // com.mongodb.internal.connection.QueryProtocol$QueryResultCallback this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0    8     0                   this  Lcom/mongodb/internal/connection/QueryProtocol$QueryResultCallback;
            0    8     2               callback  Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;
            0    8     3              requestId  I
            0    8     4         startTimeNanos  J
            0    8     6                message  Lcom/mongodb/internal/connection/QueryMessage;
            0    8     7         isExplainEvent  Z
            0    8     8  connectionDescription  Lcom/mongodb/connection/ConnectionDescription;
    Signature: (Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;IJLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/connection/ConnectionDescription;)V
    MethodParameters:
                       Name  Flags
      this$0                 final
      callback               final
      requestId              final
      startTimeNanos         final
      message                final
      isExplainEvent         final
      connectionDescription  final

  protected void callCallback(com.mongodb.internal.connection.ResponseBuffers, java.lang.Throwable);
    descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;Ljava/lang/Throwable;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=8, locals=7, args_size=3
        start local 0 // com.mongodb.internal.connection.QueryProtocol$QueryResultCallback this
        start local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        start local 2 // java.lang.Throwable throwableFromCallback
         0: .line 520
            aload 2 /* throwableFromCallback */
            ifnull 2
         1: .line 521
            aload 2 /* throwableFromCallback */
            athrow
         2: .line 522
      StackMap locals:
      StackMap stack:
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
            invokevirtual com.mongodb.internal.connection.ReplyHeader.isQueryFailure:()Z
            ifeq 9
         3: .line 523
            new com.mongodb.internal.connection.ReplyMessage
            dup
            aload 1 /* responseBuffers */
            new org.bson.codecs.BsonDocumentCodec
            dup
            invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
         4: .line 524
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.getRequestId:()J
         5: .line 523
            invokespecial com.mongodb.internal.connection.ReplyMessage.<init>:(Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder;J)V
         6: .line 524
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getDocuments:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.bson.BsonDocument
         7: .line 523
            astore 3 /* errorDocument */
        start local 3 // org.bson.BsonDocument errorDocument
         8: .line 525
            aload 3 /* errorDocument */
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.getServerAddress:()Lcom/mongodb/ServerAddress;
            invokestatic com.mongodb.internal.connection.ProtocolHelper.getQueryFailureException:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)Lcom/mongodb/MongoException;
            athrow
        end local 3 // org.bson.BsonDocument errorDocument
         9: .line 527
      StackMap locals:
      StackMap stack:
            new com.mongodb.internal.connection.ReplyMessage
            dup
            aload 1 /* responseBuffers */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
            getfield com.mongodb.internal.connection.QueryProtocol.resultDecoder:Lorg/bson/codecs/Decoder;
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.getRequestId:()J
            invokespecial com.mongodb.internal.connection.ReplyMessage.<init>:(Lcom/mongodb/internal/connection/ResponseBuffers;Lorg/bson/codecs/Decoder;J)V
            astore 3 /* replyMessage */
        start local 3 // com.mongodb.internal.connection.ReplyMessage replyMessage
        10: .line 528
            new com.mongodb.connection.QueryResult
            dup
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
            getfield com.mongodb.internal.connection.QueryProtocol.namespace:Lcom/mongodb/MongoNamespace;
            aload 3 /* replyMessage */
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getDocuments:()Ljava/util/List;
        11: .line 529
            aload 3 /* replyMessage */
            invokevirtual com.mongodb.internal.connection.ReplyMessage.getReplyHeader:()Lcom/mongodb/internal/connection/ReplyHeader;
            invokevirtual com.mongodb.internal.connection.ReplyHeader.getCursorId:()J
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.getServerAddress:()Lcom/mongodb/ServerAddress;
        12: .line 528
            invokespecial com.mongodb.connection.QueryResult.<init>:(Lcom/mongodb/MongoNamespace;Ljava/util/List;JLcom/mongodb/ServerAddress;)V
            astore 4 /* result */
        start local 4 // com.mongodb.connection.QueryResult result
        13: .line 531
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.startTimeNanos:J
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.message:Lcom/mongodb/internal/connection/QueryMessage;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.isExplainEvent:Z
            aload 1 /* responseBuffers */
            aload 4 /* result */
            invokevirtual com.mongodb.internal.connection.QueryProtocol.sendQuerySucceededEvent:(Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/internal/connection/QueryMessage;ZLcom/mongodb/internal/connection/ResponseBuffers;Lcom/mongodb/connection/QueryResult;)V
        14: .line 533
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
            ifeq 19
        15: .line 534
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "Query results received %s documents with cursor %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        16: .line 535
            aload 4 /* result */
            invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
            invokeinterface java.util.List.size:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
        17: .line 536
            aload 4 /* result */
            invokevirtual com.mongodb.connection.QueryResult.getCursor:()Lcom/mongodb/ServerCursor;
            aastore
        18: .line 534
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
        19: .line 538
      StackMap locals: com.mongodb.internal.connection.ReplyMessage com.mongodb.connection.QueryResult
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
            aload 4 /* result */
            aconst_null
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 4 // com.mongodb.connection.QueryResult result
        end local 3 // com.mongodb.internal.connection.ReplyMessage replyMessage
        20: .line 540
            goto 40
      StackMap locals: com.mongodb.internal.connection.QueryProtocol$QueryResultCallback com.mongodb.internal.connection.ResponseBuffers java.lang.Throwable
      StackMap stack: java.lang.Throwable
        21: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        22: .line 541
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 26
        23: .line 542
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.message:Lcom/mongodb/internal/connection/QueryMessage;
            ldc "find"
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.connectionDescription:Lcom/mongodb/connection/ConnectionDescription;
            invokestatic java.lang.System.nanoTime:()J
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.startTimeNanos:J
            lsub
            aload 3 /* t */
        24: .line 543
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.this$0:Lcom/mongodb/internal/connection/QueryProtocol;
            getfield com.mongodb.internal.connection.QueryProtocol.commandListener:Lcom/mongodb/event/CommandListener;
        25: .line 542
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandFailedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lcom/mongodb/connection/ConnectionDescription;JLjava/lang/Throwable;Lcom/mongodb/event/CommandListener;)V
        26: .line 545
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.internal.connection.QueryProtocol$QueryResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
            aconst_null
            aload 3 /* t */
            invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 3 // java.lang.Throwable t
        27: .line 548
            aload 1 /* responseBuffers */
            ifnull 45
        28: .line 549
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.close:()V
        29: .line 551
            goto 45
      StackMap locals: com.mongodb.internal.connection.QueryProtocol$QueryResultCallback com.mongodb.internal.connection.ResponseBuffers java.lang.Throwable
      StackMap stack: java.lang.Throwable
        30: astore 6 /* t1 */
        start local 6 // java.lang.Throwable t1
        31: .line 552
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "GetMore ResponseBuffer close exception"
            aload 6 /* t1 */
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 6 // java.lang.Throwable t1
        32: goto 45
        33: .line 546
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 5
        34: .line 548
            aload 1 /* responseBuffers */
            ifnull 39
        35: .line 549
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.close:()V
        36: .line 551
            goto 39
      StackMap locals: com.mongodb.internal.connection.QueryProtocol$QueryResultCallback com.mongodb.internal.connection.ResponseBuffers java.lang.Throwable top top java.lang.Throwable
      StackMap stack: java.lang.Throwable
        37: astore 6 /* t1 */
        start local 6 // java.lang.Throwable t1
        38: .line 552
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "GetMore ResponseBuffer close exception"
            aload 6 /* t1 */
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 6 // java.lang.Throwable t1
        39: .line 554
      StackMap locals:
      StackMap stack:
            aload 5
            athrow
        40: .line 548
      StackMap locals: com.mongodb.internal.connection.QueryProtocol$QueryResultCallback com.mongodb.internal.connection.ResponseBuffers java.lang.Throwable
      StackMap stack:
            aload 1 /* responseBuffers */
            ifnull 45
        41: .line 549
            aload 1 /* responseBuffers */
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.close:()V
        42: .line 551
            goto 45
      StackMap locals:
      StackMap stack: java.lang.Throwable
        43: astore 6 /* t1 */
        start local 6 // java.lang.Throwable t1
        44: .line 552
            getstatic com.mongodb.internal.connection.QueryProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "GetMore ResponseBuffer close exception"
            aload 6 /* t1 */
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 6 // java.lang.Throwable t1
        45: .line 555
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable throwableFromCallback
        end local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        end local 0 // com.mongodb.internal.connection.QueryProtocol$QueryResultCallback this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   46     0                   this  Lcom/mongodb/internal/connection/QueryProtocol$QueryResultCallback;
            0   46     1        responseBuffers  Lcom/mongodb/internal/connection/ResponseBuffers;
            0   46     2  throwableFromCallback  Ljava/lang/Throwable;
            8    9     3          errorDocument  Lorg/bson/BsonDocument;
           10   20     3           replyMessage  Lcom/mongodb/internal/connection/ReplyMessage<TT;>;
           13   20     4                 result  Lcom/mongodb/connection/QueryResult<TT;>;
           22   27     3                      t  Ljava/lang/Throwable;
           31   32     6                     t1  Ljava/lang/Throwable;
           38   39     6                     t1  Ljava/lang/Throwable;
           44   45     6                     t1  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0    20      21  Class java.lang.Throwable
          27    29      30  Class java.lang.Throwable
           0    27      33  any
          34    36      37  Class java.lang.Throwable
          40    42      43  Class java.lang.Throwable
    MethodParameters:
                       Name  Flags
      responseBuffers        final
      throwableFromCallback  final
}
SourceFile: "QueryProtocol.java"
NestHost: com.mongodb.internal.connection.QueryProtocol
InnerClasses:
  QueryResultCallback = com.mongodb.internal.connection.QueryProtocol$QueryResultCallback of com.mongodb.internal.connection.QueryProtocol