Table of Contents

Class MessageEvent

Namespace
Crosser.EdgeNode.Flows.Abstractions
Assembly
Crosser.EdgeNode.Flows.Abstractions.dll
public record MessageEvent : IEquatable<MessageEvent>
Inheritance
MessageEvent
Implements
Inherited Members

Constructors

MessageEvent(Guid, string, string, string, Status, string, BoundedChannelFullMode, int, int, float, float, bool, Guid, Guid, string, Guid?, DateTime)

public MessageEvent(Guid ModuleId, string ModuleName, string ModuleType, string Version, Status Status, string Reason, BoundedChannelFullMode Mode, int QueueSize, int NumberOfRetries, float RetryDelay, float Delay, bool Persistent, Guid FlowId, Guid FlowDefinitionId, string FlowName, Guid? MessageId, DateTime Timestamp)

Parameters

ModuleId Guid
ModuleName string
ModuleType string
Version string
Status Status
Reason string
Mode BoundedChannelFullMode
QueueSize int
NumberOfRetries int
RetryDelay float
Delay float
Persistent bool
FlowId Guid
FlowDefinitionId Guid
FlowName string
MessageId Guid?
Timestamp DateTime

Properties

Delay

public float Delay { get; init; }

Property Value

float

FlowDefinitionId

public Guid FlowDefinitionId { get; init; }

Property Value

Guid

FlowId

public Guid FlowId { get; init; }

Property Value

Guid

FlowName

public string FlowName { get; init; }

Property Value

string

MessageId

public Guid? MessageId { get; init; }

Property Value

Guid?

Mode

public BoundedChannelFullMode Mode { get; init; }

Property Value

BoundedChannelFullMode

ModuleId

public Guid ModuleId { get; init; }

Property Value

Guid

ModuleName

public string ModuleName { get; init; }

Property Value

string

ModuleType

public string ModuleType { get; init; }

Property Value

string

NumberOfRetries

public int NumberOfRetries { get; init; }

Property Value

int

Persistent

public bool Persistent { get; init; }

Property Value

bool

QueueSize

public int QueueSize { get; init; }

Property Value

int

Reason

public string Reason { get; init; }

Property Value

string

RetryDelay

public float RetryDelay { get; init; }

Property Value

float

Status

public Status Status { get; init; }

Property Value

Status

Timestamp

public DateTime Timestamp { get; init; }

Property Value

DateTime

Version

public string Version { get; init; }

Property Value

string

Methods

Create(IFlowModule, string, Guid?)

public static MessageEvent Create(IFlowModule flowModule, string reason, Guid? messageId = null)

Parameters

flowModule IFlowModule
reason string
messageId Guid?

Returns

MessageEvent