halotukozak.mrpc.annotation

Members list

Type members

Classlikes

trait RpcTag extends MetaAnnotation

Base for all RPC tag annotations. Mirrors commons RpcTag; the commons base-trait hierarchy is otherwise dropped.

Base for all RPC tag annotations. Mirrors commons RpcTag; the commons base-trait hierarchy is otherwise dropped.

Attributes

Source
tags.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class composite extends MetaAnnotation

Steers a metadata-class constructor parameter to be materialized by RECURSING the metadata-class construction on the parameter's type, against the SAME real-symbol context as the enclosing slot (no new RPC element is introduced — the composite groups several metadata reads of one element into a nested class).

Steers a metadata-class constructor parameter to be materialized by RECURSING the metadata-class construction on the parameter's type, against the SAME real-symbol context as the enclosing slot (no new RPC element is introduced — the composite groups several metadata reads of one element into a nested class).

Read by reflection on the metadata class's constructor params — NOT captured in halotukozak.made.Done.Metadata, so this is a plain scala.annotation.StaticAnnotation. Mirrors commons composite.

Attributes

Source
composite.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class infer extends MetaAnnotation

Steers a metadata-class constructor parameter to be materialized by IMPLICIT SEARCH (Expr.summon) for the parameter's declared type. The optional clue is surfaced in the error message when the implicit cannot be found.

Steers a metadata-class constructor parameter to be materialized by IMPLICIT SEARCH (Expr.summon) for the parameter's declared type. The optional clue is surfaced in the error message when the implicit cannot be found.

Read by reflection on the metadata class's constructor params — NOT captured in halotukozak.made.Done.Metadata, so this is a plain scala.annotation.StaticAnnotation. Mirrors commons infer.

Attributes

Source
infer.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class methodTag[BaseTag <: RpcTag](val defaultTag: Option[BaseTag] = ...) extends MetaAnnotation

Declares the tag type for an RPC's methods, with an optional default. Mirrors commons methodTag[BaseTag](defaultTag).

Declares the tag type for an RPC's methods, with an optional default. Mirrors commons methodTag[BaseTag](defaultTag).

Attributes

Source
tags.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class multi extends MetaAnnotation

Multi-value (collection) arity marker. Mirrors commons multi.

Multi-value (collection) arity marker. Mirrors commons multi.

Attributes

Source
arity.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class optional extends MetaAnnotation

Optional arity marker — the element may be absent. Mirrors commons optional. Kept extending halotukozak.made.annotation.MetaAnnotation for consistency with single/multi, so it is captured in halotukozak.made.Done.Metadata and queryable via made getAnnotation/hasAnnotation.

Optional arity marker — the element may be absent. Mirrors commons optional. Kept extending halotukozak.made.annotation.MetaAnnotation for consistency with single/multi, so it is captured in halotukozak.made.Done.Metadata and queryable via made getAnnotation/hasAnnotation.

Attributes

Source
arity.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class paramTag[BaseTag <: RpcTag](val defaultTag: Option[BaseTag] = ...) extends MetaAnnotation

Declares the tag type for an RPC method's params, with an optional default. Mirrors commons paramTag[BaseTag](defaultTag).

Declares the tag type for an RPC method's params, with an optional default. Mirrors commons paramTag[BaseTag](defaultTag).

Attributes

Source
tags.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class reifyAnnot extends MetaAnnotation

Steers a metadata-class constructor parameter to hold the real annotation instance(s) of the RPC element, resolved via made getAnnotation[A] / getAnnotations[A]. Arity-sensitive: a single Option[A]/A slot reads one annotation; a collection slot reads all matching annotations.

Steers a metadata-class constructor parameter to hold the real annotation instance(s) of the RPC element, resolved via made getAnnotation[A] / getAnnotations[A]. Arity-sensitive: a single Option[A]/A slot reads one annotation; a collection slot reads all matching annotations.

Read by reflection on the metadata class's constructor params, so this is a plain scala.annotation.StaticAnnotation. Mirrors commons reifyAnnot.

Attributes

Source
reify.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class reifyName(val useRawName: Boolean) extends MetaAnnotation

Steers how the metadata materializer fills a metadata-class constructor parameter with the RPC element's NAME.

Steers how the metadata materializer fills a metadata-class constructor parameter with the RPC element's NAME.

  • useRawName = false (default): maps to made label — the source name of the method/param.
  • useRawName = true: maps to the RESOLVED name (RpcName.computeAll), i.e. honoring @rpcName.

Read by reflection on the metadata class's constructor params — NOT captured in halotukozak.made.Done.Metadata, so this is a plain scala.annotation.StaticAnnotation (not a halotukozak.made.annotation.MetaAnnotation). Mirrors commons reifyName.

Attributes

Source
reify.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class rpcMethodMetadata extends MetaAnnotation

Marks a metadata slot that collects per-RPC-method metadata. Mirrors commons rpcMethodMetadata. Honored structurally as the operations-list (per-method) projection; the full metadata-strategy DSL is deferred.

Marks a metadata slot that collects per-RPC-method metadata. Mirrors commons rpcMethodMetadata. Honored structurally as the operations-list (per-method) projection; the full metadata-strategy DSL is deferred.

Attributes

Source
metadataStrategy.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class rpcName(val name: String) extends MetaAnnotation

Real-side name override for an RPC method. Mirrors commons rpcName(name).

Real-side name override for an RPC method. Mirrors commons rpcName(name).

Attributes

Source
rpcName.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class rpcNamePrefix(val prefix: String, val overloadedOnly: Boolean) extends MetaAnnotation

Name prefix for RPC methods. Mirrors commons rpcNamePrefix(prefix, overloadedOnly = false).

Name prefix for RPC methods. Mirrors commons rpcNamePrefix(prefix, overloadedOnly = false).

Attributes

Source
rpcNamePrefix.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class rpcParamMetadata extends MetaAnnotation

Marks a metadata slot that collects per-RPC-parameter metadata. Mirrors commons rpcParamMetadata. Honored structurally as the per-op params-list projection; the full metadata-strategy DSL is deferred.

Marks a metadata slot that collects per-RPC-parameter metadata. Mirrors commons rpcParamMetadata. Honored structurally as the per-op params-list projection; the full metadata-strategy DSL is deferred.

Attributes

Source
metadataStrategy.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class single extends MetaAnnotation

Single-value arity marker. Mirrors commons single.

Single-value arity marker. Mirrors commons single.

Attributes

Source
arity.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class tagged[Tag <: RpcTag](val whenUntagged: Option[Tag] = ...) extends MetaAnnotation

Tags a method or param with a concrete tag type, with an optional value used when untagged. Mirrors commons tagged[Tag](whenUntagged).

Tags a method or param with a concrete tag type, with an optional value used when untagged. Mirrors commons tagged[Tag](whenUntagged).

Attributes

Source
tags.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final class verbatim extends MetaAnnotation

Value IS the raw type, bypassing the codec. Mirrors commons verbatim.

Value IS the raw type, bypassing the codec. Mirrors commons verbatim.

Attributes

Source
encoding.scala
Supertypes
class MetaAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all