Packages

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. Protected

Type Members

  1. trait ChannelBufferReadable[T] extends AnyRef

    A constructor of T instances from a ByteBuf.

    A constructor of T instances from a ByteBuf.

    T

    type which instances can be constructed with this.

  2. sealed trait MongoWireVersion extends Ordered[MongoWireVersion]
  3. 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.

  4. 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.

  5. implicit final class RichBuffer extends AnyVal

Deprecated Type Members

  1. 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

Value Members

  1. object MongoWireVersion
  2. object Request extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped