Package

reactivemongo.core

protocol

Permalink

package protocol

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. protocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait MongoWireVersion extends Ordered[MongoWireVersion]

    Permalink
  2. 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

    Permalink

    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.

  3. implicit final class RichBuffer extends AnyVal

    Permalink
  4. case class CheckedWriteRequest(op: WriteRequestOp, documents: BufferSequence, getLastError: GetLastError) extends Product with Serializable

    Permalink

    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

  5. case class RequestMaker(op: RequestOp, documents: BufferSequence = BufferSequence.empty, readPreference: ReadPreference = ReadPreference.primary, channelIdHint: Option[ChannelId] = None) extends Product with Serializable

    Permalink

    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 private

Value Members

  1. object MongoWireVersion

    Permalink
  2. object Request extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped