Show / Hide Table of Contents

    Class MqttConsumerEndpoint

    The MQTT topic from which the message was consumed.

    Inheritance
    object
    Endpoint
    ConsumerEndpoint
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>
    MqttConsumerEndpoint
    Implements
    IEquatable<Endpoint>
    IEquatable<ConsumerEndpoint>
    IEquatable<ConsumerEndpoint<MqttConsumerEndpointConfiguration>>
    IEquatable<MqttConsumerEndpoint>
    Inherited Members
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.Equals(ConsumerEndpoint)
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.Configuration
    ConsumerEndpoint.Equals(Endpoint)
    Endpoint.RawName
    Endpoint.DisplayName
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Configuration.Mqtt
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    public record MqttConsumerEndpoint : ConsumerEndpoint<MqttConsumerEndpointConfiguration>, IEquatable<Endpoint>, IEquatable<ConsumerEndpoint>, IEquatable<ConsumerEndpoint<MqttConsumerEndpointConfiguration>>, IEquatable<MqttConsumerEndpoint>

    Constructors

    MqttConsumerEndpoint(MqttConsumerEndpoint)

    The MQTT topic from which the message was consumed.

    Declaration
    protected MqttConsumerEndpoint(MqttConsumerEndpoint original)
    Parameters
    Type Name Description
    MqttConsumerEndpoint original

    MqttConsumerEndpoint(string, MqttConsumerEndpointConfiguration)

    Initializes a new instance of the MqttConsumerEndpoint class.

    Declaration
    public MqttConsumerEndpoint(string topic, MqttConsumerEndpointConfiguration configuration)
    Parameters
    Type Name Description
    string topic

    The topic.

    MqttConsumerEndpointConfiguration configuration

    The consumer configuration.

    Properties

    EqualityContract

    The MQTT topic from which the message was consumed.

    Declaration
    protected override Type EqualityContract { get; }
    Property Value
    Type Description
    Type
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.EqualityContract

    Topic

    Gets the source topic.

    Declaration
    public string Topic { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(MqttConsumerEndpoint?)

    The MQTT topic from which the message was consumed.

    Declaration
    public virtual bool Equals(MqttConsumerEndpoint? other)
    Parameters
    Type Name Description
    MqttConsumerEndpoint other
    Returns
    Type Description
    bool

    Equals(ConsumerEndpoint<MqttConsumerEndpointConfiguration>?)

    The MQTT topic from which the message was consumed.

    Declaration
    public override sealed bool Equals(ConsumerEndpoint<MqttConsumerEndpointConfiguration>? other)
    Parameters
    Type Name Description
    ConsumerEndpoint<MqttConsumerEndpointConfiguration> other
    Returns
    Type Description
    bool
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.Equals(ConsumerEndpoint<MqttConsumerEndpointConfiguration>)

    Equals(object?)

    The MQTT topic from which the message was consumed.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.Equals(object)

    GetHashCode()

    The MQTT topic from which the message was consumed.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.GetHashCode()

    PrintMembers(StringBuilder)

    The MQTT topic from which the message was consumed.

    Declaration
    protected override bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.PrintMembers(StringBuilder)

    ToString()

    The MQTT topic from which the message was consumed.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ConsumerEndpoint<MqttConsumerEndpointConfiguration>.ToString()

    Operators

    operator ==(MqttConsumerEndpoint?, MqttConsumerEndpoint?)

    The MQTT topic from which the message was consumed.

    Declaration
    public static bool operator ==(MqttConsumerEndpoint? left, MqttConsumerEndpoint? right)
    Parameters
    Type Name Description
    MqttConsumerEndpoint left
    MqttConsumerEndpoint right
    Returns
    Type Description
    bool

    operator !=(MqttConsumerEndpoint?, MqttConsumerEndpoint?)

    The MQTT topic from which the message was consumed.

    Declaration
    public static bool operator !=(MqttConsumerEndpoint? left, MqttConsumerEndpoint? right)
    Parameters
    Type Name Description
    MqttConsumerEndpoint left
    MqttConsumerEndpoint right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    IEquatable<T>
    IEquatable<T>
    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini