of

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.


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.