case class ObjectCodec[A](surface: Surface, paramCodec: Seq[MessageCodec[_]]) extends MessageCodec[A] with ObjectCodecBase with PackAsMapSupport[A] with LogSupport with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ObjectCodec
- Product
- Equals
- PackAsMapSupport
- ObjectCodecBase
- MessageCodec
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ObjectCodec(surface: Surface, paramCodec: Seq[MessageCodec[_]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
macro
def
debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
macro
def
error(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
error(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
fromJson(json: Array[Byte]): A
- Definition Classes
- MessageCodec
-
def
fromJson(json: String): A
- Definition Classes
- MessageCodec
-
def
fromMap(m: Map[String, Any]): A
- Definition Classes
- MessageCodec
-
def
fromMsgPack(msgpack: Array[Byte]): A
- Definition Classes
- MessageCodec
-
def
fromString(s: String): A
A shortcut for fromMsgPack(StringCodec.toMsgPack(s))
A shortcut for fromMsgPack(StringCodec.toMsgPack(s))
- Definition Classes
- MessageCodec
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
macro
def
info(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
info(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
macro
def
logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
pack(p: Packer, v: A): Unit
- Definition Classes
- ObjectCodec → MessageCodec
-
def
pack(v: A): MsgPack
Converting the object into MessagePack (= Array[Byte])
Converting the object into MessagePack (= Array[Byte])
- Definition Classes
- MessageCodec
-
def
packAsMap(p: Packer, v: A): Unit
- Definition Classes
- ObjectCodec → PackAsMapSupport
-
val
paramCodec: Seq[MessageCodec[_]]
- Definition Classes
- ObjectCodec → ObjectCodecBase
- val surface: Surface
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJSONObject(v: A): JSONObject
- Definition Classes
- MessageCodec
-
def
toJson(v: A): String
- Definition Classes
- MessageCodec
-
def
toMsgPack(v: A): Array[Byte]
- Definition Classes
- MessageCodec
-
macro
def
trace(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
trace(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
unpack(u: Unpacker, v: MessageContext): Unit
- Definition Classes
- ObjectCodec → MessageCodec
-
def
unpack(msgpack: MsgPack): A
Converting the input MessagePack into an object.
Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException
- Definition Classes
- MessageCodec
-
def
unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[A]
- Definition Classes
- MessageCodec
-
def
unpackBytes(msgpack: Array[Byte]): Option[A]
- Definition Classes
- MessageCodec
-
def
unpackJson(json: String): Option[A]
- Definition Classes
- MessageCodec
-
def
unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[A]
- Definition Classes
- MessageCodec
-
def
unpackMsgPack(msgpack: Array[Byte]): Option[A]
- Definition Classes
- MessageCodec
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
macro
def
warn(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
warn(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated