Class AdapterWorkerFrame

Namespace
MirrorPulse.Adapter.Sdk
Assembly
MirrorPulse.Adapter.Sdk.dll

One v2 frame, containing a control message or a binary chunk.

public sealed record AdapterWorkerFrame : IEquatable<AdapterWorkerFrame>
Inheritance
AdapterWorkerFrame
Implements
Inherited Members

Constructors

AdapterWorkerFrame(AdapterControlFrame?, AdapterBinaryChunk?)

One v2 frame, containing a control message or a binary chunk.

public AdapterWorkerFrame(AdapterControlFrame? Control, AdapterBinaryChunk? Chunk)

Parameters

Control AdapterControlFrame
Chunk AdapterBinaryChunk

Properties

Chunk

public AdapterBinaryChunk? Chunk { get; init; }

Property Value

AdapterBinaryChunk

Control

public AdapterControlFrame? Control { get; init; }

Property Value

AdapterControlFrame

Methods

Deconstruct(out AdapterControlFrame?, out AdapterBinaryChunk?)

public void Deconstruct(out AdapterControlFrame? Control, out AdapterBinaryChunk? Chunk)

Parameters

Control AdapterControlFrame
Chunk AdapterBinaryChunk

Equals(AdapterWorkerFrame?)

public bool Equals(AdapterWorkerFrame? other)

Parameters

other AdapterWorkerFrame

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AdapterWorkerFrame?, AdapterWorkerFrame?)

public static bool operator ==(AdapterWorkerFrame? left, AdapterWorkerFrame? right)

Parameters

left AdapterWorkerFrame
right AdapterWorkerFrame

Returns

bool

operator !=(AdapterWorkerFrame?, AdapterWorkerFrame?)

public static bool operator !=(AdapterWorkerFrame? left, AdapterWorkerFrame? right)

Parameters

left AdapterWorkerFrame
right AdapterWorkerFrame

Returns

bool