ParamListCodec

class ParamListCodec(name: String, params: IndexedSeq[Parameter], paramCodec: Seq[MessageCodec[_]], methodOwner: Option[Any]) extends MessageCodec[Seq[Any]] with LogSupport

A generic codec for parameter lists:

  • array form: [v1, v2, ...]
  • map form: {k1:v1, k2:v2, ..}
trait MessageCodec[Seq[Any]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def pack(p: Packer, v: Seq[Any]): Unit
Definition Classes
def packAsArray(p: Packer, paramValueList: Seq[Any]): Unit
def packAsMap(p: Packer, obj: Any): Unit
override def unpack(u: Unpacker, v: MessageContext): Unit
Definition Classes

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit
Inherited from:
LoggingMethods
def fromJson(json: Array[Byte]): Seq[Any]
Inherited from:
MessageCodec
def fromJson(json: String): Seq[Any]
Inherited from:
MessageCodec
def fromMap(m: Map[String, Any]): Seq[Any]
Inherited from:
MessageCodec
def fromMsgPack(msgpack: Array[Byte]): Seq[Any]
Inherited from:
MessageCodec
def fromString(s: String): Seq[Any]

A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

Inherited from:
MessageCodec
inline protected def info(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit
Inherited from:
LoggingMethods
def pack(v: Seq[Any]): MsgPack

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

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

Inherited from:
MessageCodec
def toJSONObject(v: Seq[Any]): JSONObject
Inherited from:
MessageCodec
def toJson(v: Seq[Any]): String
Inherited from:
MessageCodec
def toMsgPack(v: Seq[Any]): Array[Byte]
Inherited from:
MessageCodec
inline protected def trace(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit
Inherited from:
LoggingMethods
def unpack(msgpack: MsgPack): Seq[Any]

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

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

Inherited from:
MessageCodec
def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[Seq[Any]]
Inherited from:
MessageCodec
def unpackBytes(msgpack: Array[Byte]): Option[Seq[Any]]
Inherited from:
MessageCodec
def unpackJson(json: String): Option[Seq[Any]]
Inherited from:
MessageCodec
def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[Seq[Any]]
Inherited from:
MessageCodec
def unpackMsgPack(msgpack: Array[Byte]): Option[Seq[Any]]
Inherited from:
MessageCodec
inline protected def warn(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit
Inherited from:
LoggingMethods