Companion

object Companion

Functions

Link copied to clipboard

A Builder of a request for the command object command to the aggregate ref names, as of builds.

fun builder(context: String, aggregate: String, command: String, body: CommandBody): ServerCommandRequest.Builder

A Builder of a request for command of aggregate in context with body.

Link copied to clipboard

A request for the command object command to the aggregate ref names, from an anonymous caller, with no other fact: its context and aggregate are ref's type, its command type the one admission derives from command's class, its tenant ref's and its aggregate id ref's, none for an unassigned ref (a creation that leaves its id to admission). The object is not encoded: admission checks it as it is, and the command carries it, so it is not changed once sent.

fun of(context: String, aggregate: String, command: String, body: CommandBody): ServerCommandRequest

A request for command of aggregate in context with body, from an anonymous caller, with no other fact.