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

AccountGroupPrivateStateSync Class

Transfers private group membership state between devices of the same account.

public sealed record AccountGroupPrivateStateSync : Meshline.Models.Protocol.TypedProtocolModel, System.IEquatable<Meshline.Models.Protocol.AccountGroupPrivateStateSync>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → AccountGroupPrivateStateSync

Implements System.IEquatable<AccountGroupPrivateStateSync>

Constructors

AccountGroupPrivateStateSync() Constructor

Transfers private group membership state between devices of the same account.

public AccountGroupPrivateStateSync();

Properties

AccountGroupPrivateStateSync.States Property

The private group membership states included in this synchronization message.

public System.Collections.Immutable.ImmutableArray<Meshline.Models.Protocol.GroupMemberPrivateState> States { get; init; }

Property Value

System.Collections.Immutable.ImmutableArray<GroupMemberPrivateState>

Methods

AccountGroupPrivateStateSync.Validate(NetworkContext) Method

Validates private membership entries and rejects duplicate group identifiers.

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

Parameters

context NetworkContext

The optional network context passed to nested validation when needed; field-only validation may ignore it.

Returns

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