OutgoingCall

class OutgoingCall @InternalWowApi constructor(val type: String, val command: Command<*>, val wait: WaitContext? = null, val actingTenant: String? = null)

One synchronous call to another context's command gateway: command, of the full type name type (context.aggregate.Command), with the wait context a wait that follows the calling saga goes on with, or null. The command carries the root command's scope, operator and causation, which the client asserts on the target's internal port, naming its service. actingTenant is the tenant the calling saga's execution acts for (its commit's, receipt's or job instance's), which the target decides the tenant of its type from; null when it is not known, the tenant the command's ref names then counting as named.

Constructors

Link copied to clipboard
constructor(type: String, command: Command<*>, wait: WaitContext? = null, actingTenant: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The command's name within its aggregate type (SubmitOrder of ordering.order.SubmitOrder).

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String