Class BowireFrameSend

Namespace
Kuestenlogik.Bowire
Assembly
Kuestenlogik.Bowire.dll

#1051 — one send that reproduces a stream frame: the method it goes to, its body, and the metadata it goes with (QoS and retain for MQTT, headers for Kafka).

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

Constructors

BowireFrameSend(string, string, string, IReadOnlyDictionary<string, string>?)

#1051 — one send that reproduces a stream frame: the method it goes to, its body, and the metadata it goes with (QoS and retain for MQTT, headers for Kafka).

public BowireFrameSend(string Service, string Method, string Body, IReadOnlyDictionary<string, string>? Metadata = null)

Parameters

Service string
Method string
Body string
Metadata IReadOnlyDictionary<string, string>

Properties

Body

public string Body { get; init; }

Property Value

string

Metadata

public IReadOnlyDictionary<string, string>? Metadata { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Method

public string Method { get; init; }

Property Value

string

Service

public string Service { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string, out IReadOnlyDictionary<string, string>?)

public void Deconstruct(out string Service, out string Method, out string Body, out IReadOnlyDictionary<string, string>? Metadata)

Parameters

Service string
Method string
Body string
Metadata IReadOnlyDictionary<string, string>

Equals(BowireFrameSend?)

public bool Equals(BowireFrameSend? other)

Parameters

other BowireFrameSend

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 ==(BowireFrameSend?, BowireFrameSend?)

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

Parameters

left BowireFrameSend
right BowireFrameSend

Returns

bool

operator !=(BowireFrameSend?, BowireFrameSend?)

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

Parameters

left BowireFrameSend
right BowireFrameSend

Returns

bool