Package

remotely

codecs

Permalink

package codecs

Linear Supertypes
lowerprioritycodecs, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. codecs
  2. lowerprioritycodecs
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DecodingFailure extends Exception

    Permalink
  2. class EncodingFailure extends Exception

    Permalink
  3. implicit class PlusSyntax extends AnyRef

    Permalink

Value Members

  1. implicit val bool: Codec[Boolean]

    Permalink
  2. implicit def byteArray: Codec[Array[Byte]]

    Permalink
  3. implicit def contextDecoder: Decoder[Context]

    Permalink
  4. implicit def contextEncoder: Encoder[Context]

    Permalink
  5. implicit val double: Codec[Double]

    Permalink
  6. implicit def either[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Codec[\/[A, B]]

    Permalink
  7. def encodeRequest[A](a: Remote[A], ctx: Context)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A]): Attempt[BitVector]

    Permalink

    Wait for all Async tasks to complete, then encode the remaining concrete expression.

    Wait for all Async tasks to complete, then encode the remaining concrete expression. The produced bit vector may be read by remoteDecoder. That is, encodeRequest(r).flatMap(bits => decodeRequest(env).decode(bits)) should succeed, given a suitable env which knows how to decode the serialized values.

    Use encode(r).map(_.toByteArray) to produce a Task[Array[Byte]].

  8. def fail[A](msg: Err): Decoder[A]

    Permalink
  9. implicit val float: Codec[Float]

    Permalink
  10. implicit def indexedSeq[A](implicit LCA: Lazy[Codec[A]]): Codec[IndexedSeq[A]]

    Permalink
  11. implicit val int32: Codec[Int]

    Permalink
  12. implicit val int64: Codec[Long]

    Permalink
  13. implicit def list[A](implicit LCA: Lazy[Codec[A]]): Codec[List[A]]

    Permalink
  14. def localRemoteDecoder(env: Codecs): Decoder[Local[Any]]

    Permalink
  15. def localRemoteEncoder[A]: Encoder[Local[A]]

    Permalink
  16. implicit def map[K, V](implicit LCK: Lazy[Codec[K]], LCV: Lazy[Codec[V]]): Codec[Map[K, V]]

    Permalink
  17. implicit def option[A](implicit LCA: Lazy[Codec[A]]): Codec[Option[A]]

    Permalink
  18. def refCodec[A]: Codec[Ref[A]]

    Permalink
  19. def remoteDecoder(env: Codecs): Decoder[Remote[Any]]

    Permalink

    A Remote[Any] decoder.

    A Remote[Any] decoder. If a Local value refers to a decoder that is not found in env, decoding fails with an error.

  20. def remoteEncode(r: Remote[Any]): Attempt[BitVector]

    Permalink
  21. implicit def remoteEncoder[A]: Encoder[Remote[A]]

    Permalink
  22. def requestDecoder(env: Environment): Decoder[(Encoder[Any], Context, Remote[Any])]

    Permalink
  23. def responseDecoder[A](implicit LDA: Lazy[Decoder[A]]): Decoder[\/[String, A]]

    Permalink
  24. def responseEncoder[A](implicit LEA: Lazy[Encoder[A]]): Encoder[Attempt[A]]

    Permalink
  25. implicit def seq[A](implicit LCA: Lazy[Codec[A]]): Codec[Seq[A]]

    Permalink
    Definition Classes
    lowerprioritycodecs
  26. implicit def set[A](implicit LCA: Lazy[Codec[A]]): Codec[Set[A]]

    Permalink
  27. implicit def sortedMap[K, V](implicit arg0: Ordering[K], LCK: Lazy[Codec[K]], LCV: Lazy[Codec[V]]): Codec[SortedMap[K, V]]

    Permalink
  28. implicit def sortedSet[A](implicit LCA: Lazy[Codec[A]], O: Ordering[A]): Codec[SortedSet[A]]

    Permalink
  29. implicit def stdEither[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Codec[Either[A, B]]

    Permalink
  30. def succeed[A](a: A): Decoder[A]

    Permalink
  31. implicit def tuple2[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Lazy[Codec[(A, B)]]

    Permalink
  32. implicit val utf8: Codec[String]

    Permalink

Deprecated Value Members

  1. def optional[A](target: Codec[A]): Codec[Option[A]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.3) Use the implicit Option[A] resolution provided by this package instead.

Inherited from lowerprioritycodecs

Inherited from AnyRef

Inherited from Any

Ungrouped