Table of Contents

Class MqttProducerEndpoint

Namespace
Silverback.Messaging.Configuration.Mqtt
Assembly
Silverback.Integration.MQTT.dll

The MQTT topic where the message must be produced to.

public record MqttProducerEndpoint : ProducerEndpoint<MqttProducerEndpointConfiguration>, IEquatable<Endpoint>, IEquatable<ProducerEndpoint>, IEquatable<ProducerEndpoint<MqttProducerEndpointConfiguration>>, IEquatable<MqttProducerEndpoint>
Inheritance
MqttProducerEndpoint
Implements
Inherited Members

Constructors

MqttProducerEndpoint(MqttProducerEndpoint)

protected MqttProducerEndpoint(MqttProducerEndpoint original)

Parameters

original MqttProducerEndpoint

MqttProducerEndpoint(string, MqttProducerEndpointConfiguration)

Initializes a new instance of the MqttProducerEndpoint class.

public MqttProducerEndpoint(string topic, MqttProducerEndpointConfiguration configuration)

Parameters

topic string

The topic.

configuration MqttProducerEndpointConfiguration

The producer configuration.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Topic

Gets the target topic.

public string Topic { get; }

Property Value

string

Methods

Equals(MqttProducerEndpoint?)

public virtual bool Equals(MqttProducerEndpoint? other)

Parameters

other MqttProducerEndpoint

Returns

bool

Equals(ProducerEndpoint<MqttProducerEndpointConfiguration>?)

public override sealed bool Equals(ProducerEndpoint<MqttProducerEndpointConfiguration>? other)

Parameters

other ProducerEndpoint<MqttProducerEndpointConfiguration>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MqttProducerEndpoint?, MqttProducerEndpoint?)

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

Parameters

left MqttProducerEndpoint
right MqttProducerEndpoint

Returns

bool

operator !=(MqttProducerEndpoint?, MqttProducerEndpoint?)

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

Parameters

left MqttProducerEndpoint
right MqttProducerEndpoint

Returns

bool