CommandPekkoSerializer

csw.command.client.cbor.CommandPekkoSerializer
class CommandPekkoSerializer extends CborPekkoSerializer[CommandSerializable], MessageCodecs

Attributes

Graph
Supertypes
trait ParamCodecs
trait CommonCodecs
class CborPekkoSerializer[CommandSerializable]
trait Serializer
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case class Timestamp(seconds: Long, nanos: Long)

Attributes

Inherited from:
CommonCodecs
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type ArrayDec[T] = Decoder[Array[T]]

Attributes

Inherited from:
ParamCodecsBase
type ArrayEnc[T] = Encoder[Array[T]]

Attributes

Inherited from:
ParamCodecsBase

Value members

Concrete methods

override def identifier: Int

Completely unique value to identify this implementation of Serializer, used to optimize network traffic. Values from 0 to 40 are reserved for Pekko internal usage.

Completely unique value to identify this implementation of Serializer, used to optimize network traffic. Values from 0 to 40 are reserved for Pekko internal usage.

Attributes

Definition Classes
Serializer

Inherited methods

def explicitEnumCodec[T <: EnumEntry : Enum]: Codec[T]

Attributes

Inherited from:
LoggingCodecs
override def fromBinary(bytes: Array[Byte], manifest: Option[Class[_]]): AnyRef

Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.

Produces an object from an array of bytes, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.

Attributes

Definition Classes
CborPekkoSerializer -> Serializer
Inherited from:
CborPekkoSerializer
final def fromBinary(bytes: Array[Byte], clazz: Class[_]): AnyRef

Java API: deserialize with type hint

Java API: deserialize with type hint

Attributes

Inherited from:
Serializer
final def fromBinary(bytes: Array[Byte]): AnyRef

Java API: deserialize without type hint

Java API: deserialize without type hint

Attributes

Inherited from:
Serializer
override def includeManifest: Boolean

Returns whether this serializer needs a manifest in the fromBinary method

Returns whether this serializer needs a manifest in the fromBinary method

Attributes

Definition Classes
CborPekkoSerializer -> Serializer
Inherited from:
CborPekkoSerializer
protected def pubSubCodecValue[T : Decoder]: Codec[PubSub[T]]

Attributes

Inherited from:
MessageCodecsBase
protected def register[T <: CommandSerializable : ClassTag]: Unit

Attributes

Inherited from:
CborPekkoSerializer
override def toBinary(o: AnyRef): Array[Byte]

Serializes the given object into an Array of Byte.

Serializes the given object into an Array of Byte.

Note that the array must not be mutated by the serializer after it has been returned.

Attributes

Definition Classes
CborPekkoSerializer -> Serializer
Inherited from:
CborPekkoSerializer

Inherited fields

lazy protected val commandResponseCodecValue: Codec[CommandResponse]

Attributes

Inherited from:
ParamCodecsBase
lazy val coordCodecValue: Codec[Coord]

Attributes

Inherited from:
ParamCodecsBase
lazy protected val locationCodecValue: Codec[Location]

Attributes

Inherited from:
LocationCodecsBase

Implicits

Inherited implicits

implicit def actorRefCodec[T]: Codec[ActorRef[T]]

Attributes

Inherited from:
MessageCodecsBase
implicit lazy val angleCodec: Codec[Angle]

Attributes

Inherited from:
ParamCodecsBase
implicit def arrayDataCodec[T : ArrayDec]: Codec[ArrayData[T]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val bytesDec: Decoder[Array[Byte]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val bytesEnc: Encoder[Array[Byte]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val charDec: Decoder[Char]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val charEnc: Encoder[Char]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val characterDec: Decoder[Character]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val characterEnc: Encoder[Character]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val choiceCodec: Codec[Choice]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val commandIssueCodecValue: Codec[CommandIssue]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val commandNameCodec: Codec[CommandName]

Attributes

Inherited from:
ParamCodecsBase
implicit def commandResponseCodec[T <: CommandResponse]: Codec[T]

Attributes

Inherited from:
ParamCodecs
implicit lazy val componentCodec: Codec[Component]

Attributes

Inherited from:
MessageCodecsBase
implicit lazy val componentIdCodec: Codec[ComponentId]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val componentInfoCodec: Codec[ComponentInfo]

Attributes

Inherited from:
MessageCodecsBase
implicit lazy val componentsCodec: Codec[Components]

Attributes

Inherited from:
MessageCodecsBase
implicit def connectionCodec[C <: Connection]: Codec[C]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val connectionInfoCodec: Codec[ConnectionInfo]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val controlCommandCodec: Codec[ControlCommand]

Attributes

Inherited from:
ParamCodecsBase
implicit def coordCodec[T <: Coord]: Codec[T]

Attributes

Inherited from:
ParamCodecs
implicit lazy val cswSequencerMessageCodec: Codec[CswSequencerMessage]

Attributes

Inherited from:
MessageCodecsBase
implicit lazy val currentStateCodecValue: Codec[CurrentState]

Attributes

Inherited from:
ParamCodecsBase
implicit def enumCodec[T <: EnumEntry : Enum]: Codec[T]

Attributes

Inherited from:
CommonCodecs
implicit lazy val eventCodec: Codec[Event]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val eventNameCodec: Codec[EventName]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val finiteDurationCodec: Codec[FiniteDuration]

Attributes

Inherited from:
CommonCodecs
implicit val flatAdtEncoding: AdtEncodingStrategy

Attributes

Inherited from:
CommonCodecs
implicit lazy val idCodec: Codec[Id]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val instantDec: Decoder[Instant]

Attributes

Inherited from:
CommonCodecs
implicit lazy val instantEnc: Encoder[Instant]

Attributes

Inherited from:
CommonCodecs
implicit lazy val javaByteArrayDec: Decoder[Array[Byte]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val javaByteArrayEnc: Encoder[Array[Byte]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val levelCodec: Codec[Level]

Attributes

Inherited from:
LoggingCodecs

Attributes

Inherited from:
MessageCodecsBase
implicit def locationCodec[T <: Location]: Codec[T]

Attributes

Inherited from:
LocationCodecs
implicit lazy val lockingResponseCodec: Codec[LockingResponse]

Attributes

Inherited from:
MessageCodecsBase
implicit lazy val logMetadataCodec: Codec[LogMetadata]

Attributes

Inherited from:
LoggingCodecs
implicit def matrixDataCodec[T : ArrayDec]: Codec[MatrixData[T]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val messageRemoteMsgCodec: Codec[RemoteMsg]

Attributes

Inherited from:
MessageCodecs
implicit lazy val metadataCodec: Codec[Metadata]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val networkType: Codec[NetworkType]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val obsIdCodec: Codec[ObsId]

Attributes

Inherited from:
ParamCodecsBase
implicit def paramCodec[T : ArrayDec]: Codec[Parameter[T]]

Attributes

Inherited from:
ParamCodecsBase
implicit def paramCoreCodec[T : ArrayDec]: Codec[ParamCore[T]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val paramDecExistential: Decoder[Parameter[_]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val paramEncExistential: Encoder[Parameter[_]]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val prefixCodec: Codec[Prefix]

Attributes

Inherited from:
CommonCodecs
implicit lazy val properMotionCodec: Codec[ProperMotion]

Attributes

Inherited from:
ParamCodecsBase
implicit def pubSubCodec[T : Decoder, PS <: (PubSub)]: Codec[PS[T]]

Attributes

Inherited from:
MessageCodecs
implicit lazy val registrationCodec: Codec[Registration]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val resultCodec: Codec[Result]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val sequenceCodec: Codec[Sequence]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val sequenceCommandCodec: Codec[SequenceCommand]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val stateNameCodec: Codec[StateName]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val stateVariableCodecValue: Codec[StateVariable]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val tagCodec: Codec[Tag]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val taiTimeCodec: Codec[TAITime]

Attributes

Inherited from:
ParamCodecsBase
implicit lazy val trackingEventCodec: Codec[TrackingEvent]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val uriCodec: Codec[URI]

Attributes

Inherited from:
LocationCodecsBase
implicit lazy val utcTimeCodec: Codec[UTCTime]

Attributes

Inherited from:
ParamCodecsBase
implicit def waCodec[T : ArrayDec]: Codec[ArraySeq[T]]

Attributes

Inherited from:
ParamCodecsBase