Class

wvlet.airframe.codec

ObjectCodec

Related Doc: package codec

Permalink

case class ObjectCodec[A](surface: Surface, paramCodec: Seq[MessageCodec[_]]) extends MessageCodec[A] with PackAsMapSupport[A] with LogSupport with Product with Serializable

Linear Supertypes
Product, Equals, PackAsMapSupport[A], MessageCodec[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectCodec
  2. Product
  3. Equals
  4. PackAsMapSupport
  5. MessageCodec
  6. LogSupport
  7. LazyLogger
  8. LoggingMethods
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectCodec(surface: Surface, paramCodec: Seq[MessageCodec[_]])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  7. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. def fromJson(json: String): A

    Permalink
    Definition Classes
    MessageCodec
  12. def fromMsgPack(msgpack: Array[Byte]): A

    Permalink
    Definition Classes
    MessageCodec
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  15. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def pack(p: Packer, v: A): Unit

    Permalink
    Definition Classes
    ObjectCodecMessageCodec
  23. def pack(v: A): MsgPack

    Permalink

    Converting the object into MessagePack (= Array[Byte])

    Converting the object into MessagePack (= Array[Byte])

    Definition Classes
    MessageCodec
  24. def packAsMap(p: Packer, v: A): Unit

    Permalink
    Definition Classes
    ObjectCodecPackAsMapSupport
  25. val paramCodec: Seq[MessageCodec[_]]

    Permalink
  26. val surface: Surface

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toJSONObject(v: A): JSONObject

    Permalink
    Definition Classes
    MessageCodec
  29. def toJson(v: A): String

    Permalink
    Definition Classes
    MessageCodec
  30. def toMsgPack(v: A): Array[Byte]

    Permalink
    Definition Classes
    MessageCodec
  31. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  32. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  33. def unpack(u: Unpacker, v: MessageHolder): Unit

    Permalink
    Definition Classes
    ObjectCodecMessageCodec
  34. def unpack(msgpack: MsgPack): A

    Permalink

    Converting the input MessagePack into an object.

    Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException

    Definition Classes
    MessageCodec
  35. def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[A]

    Permalink
    Definition Classes
    MessageCodec
  36. def unpackBytes(msgpack: Array[Byte]): Option[A]

    Permalink
    Definition Classes
    MessageCodec
  37. def unpackJson(json: String): Option[A]

    Permalink
    Definition Classes
    MessageCodec
  38. def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[A]

    Permalink
    Definition Classes
    MessageCodec
  39. def unpackMsgPack(msgpack: Array[Byte]): Option[A]

    Permalink
    Definition Classes
    MessageCodec
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  44. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from PackAsMapSupport[A]

Inherited from MessageCodec[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped