Package com.mongodb.internal.connection
Class ReplyMessage<T>
- java.lang.Object
-
- com.mongodb.internal.connection.ReplyMessage<T>
-
- Type Parameters:
T
- the type of the result document
public class ReplyMessage<T> extends java.lang.Object
An OP_REPLY message.
-
-
Constructor Summary
Constructors Constructor Description ReplyMessage(ResponseBuffers responseBuffers, Decoder<T> decoder, long requestId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>
getDocuments()
Gets the documents.ReplyHeader
getReplyHeader()
Gets the reply header.
-
-
-
Constructor Detail
-
ReplyMessage
public ReplyMessage(ResponseBuffers responseBuffers, Decoder<T> decoder, long requestId)
-
-
Method Detail
-
getReplyHeader
public ReplyHeader getReplyHeader()
Gets the reply header.- Returns:
- the reply header
-
getDocuments
public java.util.List<T> getDocuments()
Gets the documents.- Returns:
- the documents
-
-