ForwardReply
data class ForwardReply(val v: Int = VERSION, val result: CommandResult? = null, val reached: List<CommandResult> = emptyList(), val refused: String? = null)
The owner's reply to a ForwardCommand: the result its execution reached at COMMITTED (a commit, a duplicate, no change, a rejection or a failure), followed by the later hops it reached at once (the next HANDLED hop of a command that changed nothing, or of a duplicate whose subscription is past it). Hops reached later are signalled to the wait's origin.
A node that does not take the command answers refused instead, with one of the Refusal codes; the sender then executes the command itself.
Constructors
Link copied to clipboard
constructor(v: Int = VERSION, result: CommandResult? = null, reached: List<CommandResult> = emptyList(), refused: String? = null)