Table of Contents

Class Listener

Namespace
EasyNetQ.Management.Client.Model
Assembly
EasyNetQ.Management.Client.dll
public record Listener : IEquatable<Listener>
Inheritance
Listener
Implements
Inherited Members

Constructors

Listener(Listener)

protected Listener(Listener original)

Parameters

original Listener

Listener(string, string, string, int, SocketOpts?)

public Listener(string Node, string Protocol, string IpAddress, int Port, SocketOpts? SocketOpts = null)

Parameters

Node string
Protocol string
IpAddress string
Port int
SocketOpts SocketOpts

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ExtensionData

[JsonIgnore]
public IReadOnlyDictionary<string, object?>? ExtensionData { get; set; }

Property Value

IReadOnlyDictionary<string, object>

IpAddress

public string IpAddress { get; init; }

Property Value

string

JsonExtensionData

[JsonExtensionData]
public IDictionary<string, JsonElement>? JsonExtensionData { get; set; }

Property Value

IDictionary<string, JsonElement>

Node

public string Node { get; init; }

Property Value

string

Port

public int Port { get; init; }

Property Value

int

Protocol

public string Protocol { get; init; }

Property Value

string

SocketOpts

[JsonConverter(typeof(EmptyArrayAsDefaultConverter<SocketOpts>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public SocketOpts? SocketOpts { get; init; }

Property Value

SocketOpts

Methods

Deconstruct(out string, out string, out string, out int, out SocketOpts?)

public void Deconstruct(out string Node, out string Protocol, out string IpAddress, out int Port, out SocketOpts? SocketOpts)

Parameters

Node string
Protocol string
IpAddress string
Port int
SocketOpts SocketOpts

Equals(Listener?)

public virtual bool Equals(Listener? other)

Parameters

other Listener

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 virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public virtual Listener <Clone>$()

Returns

Listener

Operators

operator ==(Listener?, Listener?)

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

Parameters

left Listener
right Listener

Returns

bool

operator !=(Listener?, Listener?)

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

Parameters

left Listener
right Listener

Returns

bool