Nebula
Worker

AuthorityCallDecision

The decision for one incoming call: the action and, for a rejection, the reason.

generated from the sources
public readonly struct AuthorityCallDecision

The decision for one incoming call: the action and, for a rejection, the reason.

Constructors

AuthorityCallDecision

public AuthorityCallDecision(AuthorityCallAction action, AuthorityCallOutcome outcome);

Fields

ApplyIt

public static readonly AuthorityCallDecision ApplyIt = new AuthorityCallDecision(AuthorityCallAction.Apply, AuthorityCallOutcome.Accepted);

ForwardIt

public static readonly AuthorityCallDecision ForwardIt = new AuthorityCallDecision(AuthorityCallAction.Forward, AuthorityCallOutcome.Pending);

Properties

Action

public AuthorityCallAction Action { get; }

Outcome

public AuthorityCallOutcome Outcome { get; }

AuthorityCallOutcome.Accepted for an apply, AuthorityCallOutcome.Pending for a forward, the reason for a rejection.

Methods

Reject

public static AuthorityCallDecision Reject(AuthorityCallOutcome why);

ToString

public override string ToString();

On this page