Companion

object Companion

Properties

Link copied to clipboard
const val FORMAT: Int = 1

The format version of this structure.

Functions

Link copied to clipboard
fun failed(commandId: String, requestId: String, correlationId: String, ref: AggregateRef, hop: Hop, function: FunctionInfo, version: Int?, error: ErrorInfo, signalTime: Long): CommandResult

The result of a command that did not reach hop for a technical reason, error; see succeeded.

Link copied to clipboard
fun rejected(commandId: String, requestId: String, correlationId: String, ref: AggregateRef, hop: Hop, function: FunctionInfo, version: Int?, error: ErrorInfo, signalTime: Long): CommandResult

The result of a command a rule refused at hop with error; the other fields are succeeded's.

Link copied to clipboard
fun succeeded(commandId: String, requestId: String, correlationId: String, ref: AggregateRef, hop: Hop, function: FunctionInfo, version: Int?, signalTime: Long): CommandResult

The result of command commandId (of request requestId, in the chain correlationId) that reached hop on ref, produced by function at signalTime (epoch milliseconds), the aggregate then at version.