Companion
object Companion
Functions
Link copied to clipboard
fun builder(context: String, aggregate: String, command: String, body: CommandBody): ServerCommandRequest.Builder
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