Packages

p

remotely

codecs

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
  2. class EncodingFailure extends Exception
  3. implicit class PlusSyntax extends AnyRef

Value Members

  1. implicit val bool: Codec[Boolean]
  2. implicit def byteArray: Codec[Array[Byte]]
  3. implicit def contextDecoder: Decoder[Context]
  4. implicit def contextEncoder: Encoder[Context]
  5. implicit val double: Codec[Double]
  6. implicit def either[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Codec[\/[A, B]]
  7. def encodeRequest[A](a: Remote[A], ctx: Context)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A]): Attempt[BitVector]

    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]
  9. implicit val float: Codec[Float]
  10. implicit def indexedSeq[A](implicit LCA: Lazy[Codec[A]]): Codec[IndexedSeq[A]]
  11. implicit val int32: Codec[Int]
  12. implicit val int64: Codec[Long]
  13. implicit def list[A](implicit LCA: Lazy[Codec[A]]): Codec[List[A]]
  14. def localRemoteDecoder(env: Codecs): Decoder[Local[Any]]
  15. def localRemoteEncoder[A]: Encoder[Local[A]]
  16. implicit def map[K, V](implicit LCK: Lazy[Codec[K]], LCV: Lazy[Codec[V]]): Codec[Map[K, V]]
  17. implicit def option[A](implicit LCA: Lazy[Codec[A]]): Codec[Option[A]]
  18. def refCodec[A]: Codec[Ref[A]]
  19. def remoteDecoder(env: Codecs): Decoder[Remote[Any]]

    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]
  21. implicit def remoteEncoder[A]: Encoder[Remote[A]]
  22. def requestDecoder(env: Environment): Decoder[(Encoder[Any], Context, Remote[Any])]
  23. def responseDecoder[A](implicit LDA: Lazy[Decoder[A]]): Decoder[\/[String, A]]
  24. def responseEncoder[A](implicit LEA: Lazy[Encoder[A]]): Encoder[Attempt[A]]
  25. implicit def seq[A](implicit LCA: Lazy[Codec[A]]): Codec[Seq[A]]
    Definition Classes
    lowerprioritycodecs
  26. implicit def set[A](implicit LCA: Lazy[Codec[A]]): Codec[Set[A]]
  27. implicit def sortedMap[K, V](implicit arg0: Ordering[K], LCK: Lazy[Codec[K]], LCV: Lazy[Codec[V]]): Codec[SortedMap[K, V]]
  28. implicit def sortedSet[A](implicit LCA: Lazy[Codec[A]], O: Ordering[A]): Codec[SortedSet[A]]
  29. implicit def stdEither[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Codec[Either[A, B]]
  30. def succeed[A](a: A): Decoder[A]
  31. implicit def tuple2[A, B](implicit LCA: Lazy[Codec[A]], LCB: Lazy[Codec[B]]): Lazy[Codec[(A, B)]]
  32. implicit val utf8: Codec[String]

Deprecated Value Members

  1. def optional[A](target: Codec[A]): Codec[Option[A]]
    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