class com.mongodb.internal.connection.GetMoreMessage extends com.mongodb.internal.connection.LegacyMessage
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.GetMoreMessage
super_class: com.mongodb.internal.connection.LegacyMessage
{
private final long cursorId;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int numberToReturn;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, long, int);
descriptor: (Ljava/lang/String;JI)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
getstatic com.mongodb.internal.connection.OpCode.OP_GETMORE:Lcom/mongodb/internal/connection/OpCode;
invokestatic com.mongodb.internal.connection.MessageSettings.builder:()Lcom/mongodb/internal/connection/MessageSettings$Builder;
invokevirtual com.mongodb.internal.connection.MessageSettings$Builder.build:()Lcom/mongodb/internal/connection/MessageSettings;
invokespecial com.mongodb.internal.connection.LegacyMessage.<init>:(Ljava/lang/String;Lcom/mongodb/internal/connection/OpCode;Lcom/mongodb/internal/connection/MessageSettings;)V
1: aload 0
lload 2
putfield com.mongodb.internal.connection.GetMoreMessage.cursorId:J
2: aload 0
iload 4
putfield com.mongodb.internal.connection.GetMoreMessage.numberToReturn:I
3: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/GetMoreMessage;
0 4 1 collectionName Ljava/lang/String;
0 4 2 cursorId J
0 4 4 numberToReturn I
MethodParameters:
Name Flags
collectionName final
cursorId final
numberToReturn final
public long getCursorId();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.GetMoreMessage.cursorId:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/GetMoreMessage;
protected com.mongodb.internal.connection.RequestMessage$EncodingMetadata encodeMessageBodyWithMetadata(org.bson.io.BsonOutput);
descriptor: (Lorg/bson/io/BsonOutput;)Lcom/mongodb/internal/connection/RequestMessage$EncodingMetadata;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.internal.connection.GetMoreMessage.writeGetMore:(Lorg/bson/io/BsonOutput;)V
1: new com.mongodb.internal.connection.RequestMessage$EncodingMetadata
dup
aload 1
invokeinterface org.bson.io.BsonOutput.getPosition:()I
invokespecial com.mongodb.internal.connection.RequestMessage$EncodingMetadata.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/GetMoreMessage;
0 2 1 bsonOutput Lorg/bson/io/BsonOutput;
MethodParameters:
Name Flags
bsonOutput final
private void writeGetMore(org.bson.io.BsonOutput);
descriptor: (Lorg/bson/io/BsonOutput;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
1: aload 1
aload 0
invokevirtual com.mongodb.internal.connection.GetMoreMessage.getCollectionName:()Ljava/lang/String;
invokeinterface org.bson.io.BsonOutput.writeCString:(Ljava/lang/String;)V
2: aload 1
aload 0
getfield com.mongodb.internal.connection.GetMoreMessage.numberToReturn:I
invokeinterface org.bson.io.BsonOutput.writeInt32:(I)V
3: aload 1
aload 0
getfield com.mongodb.internal.connection.GetMoreMessage.cursorId:J
invokeinterface org.bson.io.BsonOutput.writeInt64:(J)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/GetMoreMessage;
0 5 1 buffer Lorg/bson/io/BsonOutput;
MethodParameters:
Name Flags
buffer final
}
SourceFile: "GetMoreMessage.java"
InnerClasses:
public final Builder = com.mongodb.internal.connection.MessageSettings$Builder of com.mongodb.internal.connection.MessageSettings
EncodingMetadata = com.mongodb.internal.connection.RequestMessage$EncodingMetadata of com.mongodb.internal.connection.RequestMessage