Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

MessageDeliveryStatus Class

Contains a relay-reported delivery state, acceptance time, and optional failure.

public sealed record MessageDeliveryStatus : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.MessageDeliveryStatus>

Inheritance System.Object → ProtocolModel → MessageDeliveryStatus

Implements System.IEquatable<MessageDeliveryStatus>

Properties

MessageDeliveryStatus.AcceptedAt Property

The relay acceptance time, in Unix seconds.

public long AcceptedAt { get; init; }

Property Value

System.Int64

MessageDeliveryStatus.Error Property

The error associated with this result or diagnostic.

public Meshline.Models.Protocol.RelayError? Error { get; init; }

Property Value

RelayError

MessageDeliveryStatus.Status Property

The current relay-reported delivery state.

public Meshline.Models.Protocol.MessageDeliveryState Status { get; init; }

Property Value

MessageDeliveryState

Methods

MessageDeliveryStatus.Validate(NetworkContext) Method

Validates the delivery state, acceptance time, and presence of an error for failed delivery.

public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);

Parameters

context NetworkContext

The optional network context; these field-only checks do not require it.

Returns

ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.