Companion

object Companion

Functions

Link copied to clipboard
fun rejected(code: String, message: String = code, status: Int? = null): PeerAnswer

The peer's aggregate rejected the command with the error code and message, answered with the status the peer's contract gives the code, or status when given.

Link copied to clipboard
fun succeeded(id: String? = null, version: Int = 1): PeerAnswer

The command committed at version, to the aggregate id: the call's own by default, else a new one, as a creation that names none gets.

Link copied to clipboard

The peer's node waited for the commit past its timeout: 504 wow.wait.timeout, whether the command committed unknown, which the caller may send again with the same request id.