package protocol
- Alphabetic
- By Inheritance
- protocol
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait MongoWireVersion extends Ordered[MongoWireVersion]
- implicit final class RichBuffer extends AnyVal
Deprecated Type Members
- case class CheckedWriteRequest(op: WriteRequestOp, documents: BufferSequence, getLastError: GetLastError) extends Product with Serializable
A helper to build write request which result needs to be checked (by sending a reactivemongo.api.commands.GetLastError command after).
A helper to build write request which result needs to be checked (by sending a reactivemongo.api.commands.GetLastError command after).
- op
write operation.
- documents
body of this request, a ByteBuf containing 0, 1, or many documents.
- getLastError
a
GetLastError
command message.
- Annotations
- @deprecated
- Deprecated
(Since version 0.16.0) Unused
- case class Request(requestID: Int, responseTo: Int, op: RequestOp, documents: BufferSequence, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends ChannelBufferWritable with Product with Serializable
Request message.
Request message.
- requestID
the ID of this request, so that the response may be identifiable. Should be strictly positive.
- op
request operation.
- documents
body of this request, a ByteBuf containing 0, 1, or many documents.
- channelIdHint
a hint for sending this request on a particular channel.
- Annotations
- @deprecated
- Deprecated
(Since version 0.20.3) Internal: will be made private
- case class RequestMaker(op: RequestOp, documents: BufferSequence = BufferSequence.empty, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends Product with Serializable
A helper to build requests.
A helper to build requests.
- op
write operation.
- documents
body of this request, a ByteBuf containing 0, 1, or many documents.
- channelIdHint
a hint for sending this request on a particular channel.
- Annotations
- @deprecated
- Deprecated
(Since version 0.19.1) Internal: will be made private
Value Members
- object MongoWireVersion