CallWire

data class CallWire(val format: Int = FORMAT, val commandId: String, val tenantId: String, val ownerId: String? = null, val spaceId: String? = null, val causation: Causation, val operator: Operator? = null, val wait: WaitWire? = null, val facts: Map<String, String> = emptyMap(), val actingTenant: String? = null)

The root command of a call on the wire (CallHeader): its format, the call's commandId, the root command's tenantId, ownerId and spaceId, its causation and operator, the wait context a wait that follows the calling saga goes on with, facts, the root request's facts that propagate (such as {"app_id":"console"}), and the actingTenant the calling saga's execution acts for, which the target decides its type's tenant from (an addition within format 1; none from an older writer, tenantId then counting as named).

Its reader compares the format and refuses a call of another, which a target answers as a malformed request: the call did not run there.

Constructors

Link copied to clipboard
constructor(format: Int = FORMAT, commandId: String, tenantId: String, ownerId: String? = null, spaceId: String? = null, causation: Causation, operator: Operator? = null, wait: WaitWire? = null, facts: Map<String, String> = emptyMap(), actingTenant: String? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val format: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard