Class Connection
- Namespace
- EasyNetQ.Management.Client.Model
- Assembly
- EasyNetQ.Management.Client.dll
public record Connection : IEquatable<Connection>
- Inheritance
-
Connection
- Implements
-
- Inherited Members
-
Constructors
Connection(Connection)
protected Connection(Connection original)
Parameters
original
Connection
Connection(long, long, long, long, long, string?, string?, string?, long, string, string, string, string?, int, string?, int, bool, string?, string?, string?, string?, string?, string?, string?, string?, string, string, string, long, long, IReadOnlyDictionary<string, object?>)
public Connection(long RecvOct, long RecvCnt, long SendOct, long SendCnt, long SendPend, string? State, string? LastBlockedBy, string? LastBlockedAge, long Channels, string Type, string Node, string Name, string? Address, int Port, string? PeerHost, int PeerPort, bool Ssl, string? PeerCertSubject, string? PeerCertIssuer, string? PeerCertValidity, string? AuthMechanism, string? SslProtocol, string? SslKeyExchange, string? SslCipher, string? SslHash, string Protocol, string User, string Vhost, long Timeout, long FrameMax, IReadOnlyDictionary<string, object?> ClientProperties)
Parameters
RecvOct
long
RecvCnt
long
SendOct
long
SendCnt
long
SendPend
long
State
string
LastBlockedBy
string
LastBlockedAge
string
Channels
long
Type
string
Node
string
Name
string
Address
string
Port
int
PeerHost
string
PeerPort
int
Ssl
bool
PeerCertSubject
string
PeerCertIssuer
string
PeerCertValidity
string
AuthMechanism
string
SslProtocol
string
SslKeyExchange
string
SslCipher
string
SslHash
string
Protocol
string
User
string
Vhost
string
Timeout
long
FrameMax
long
ClientProperties
IReadOnlyDictionary<string, object>
Properties
Address
public string? Address { get; init; }
Property Value
- string
AuthMechanism
public string? AuthMechanism { get; init; }
Property Value
- string
Channels
public long Channels { get; init; }
Property Value
- long
ClientProperties
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?> ClientProperties { get; init; }
Property Value
- IReadOnlyDictionary<string, object>
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
FrameMax
public long FrameMax { get; init; }
Property Value
- long
LastBlockedAge
public string? LastBlockedAge { get; init; }
Property Value
- string
LastBlockedBy
public string? LastBlockedBy { get; init; }
Property Value
- string
Name
public string Name { get; init; }
Property Value
- string
Node
public string Node { get; init; }
Property Value
- string
PeerCertIssuer
public string? PeerCertIssuer { get; init; }
Property Value
- string
PeerCertSubject
public string? PeerCertSubject { get; init; }
Property Value
- string
PeerCertValidity
public string? PeerCertValidity { get; init; }
Property Value
- string
PeerHost
public string? PeerHost { get; init; }
Property Value
- string
PeerPort
public int PeerPort { get; init; }
Property Value
- int
Port
public int Port { get; init; }
Property Value
- int
Protocol
public string Protocol { get; init; }
Property Value
- string
RecvCnt
public long RecvCnt { get; init; }
Property Value
- long
RecvOct
public long RecvOct { get; init; }
Property Value
- long
SendCnt
public long SendCnt { get; init; }
Property Value
- long
SendOct
public long SendOct { get; init; }
Property Value
- long
SendPend
public long SendPend { get; init; }
Property Value
- long
Ssl
public bool Ssl { get; init; }
Property Value
- bool
SslCipher
public string? SslCipher { get; init; }
Property Value
- string
SslHash
public string? SslHash { get; init; }
Property Value
- string
SslKeyExchange
public string? SslKeyExchange { get; init; }
Property Value
- string
SslProtocol
public string? SslProtocol { get; init; }
Property Value
- string
State
public string? State { get; init; }
Property Value
- string
Timeout
public long Timeout { get; init; }
Property Value
- long
Type
public string Type { get; init; }
Property Value
- string
User
public string User { get; init; }
Property Value
- string
Vhost
public string Vhost { get; init; }
Property Value
- string
Methods
Deconstruct(out long, out long, out long, out long, out long, out string?, out string?, out string?, out long, out string, out string, out string, out string?, out int, out string?, out int, out bool, out string?, out string?, out string?, out string?, out string?, out string?, out string?, out string?, out string, out string, out string, out long, out long, out IReadOnlyDictionary<string, object?>)
public void Deconstruct(out long RecvOct, out long RecvCnt, out long SendOct, out long SendCnt, out long SendPend, out string? State, out string? LastBlockedBy, out string? LastBlockedAge, out long Channels, out string Type, out string Node, out string Name, out string? Address, out int Port, out string? PeerHost, out int PeerPort, out bool Ssl, out string? PeerCertSubject, out string? PeerCertIssuer, out string? PeerCertValidity, out string? AuthMechanism, out string? SslProtocol, out string? SslKeyExchange, out string? SslCipher, out string? SslHash, out string Protocol, out string User, out string Vhost, out long Timeout, out long FrameMax, out IReadOnlyDictionary<string, object?> ClientProperties)
Parameters
RecvOct
long
RecvCnt
long
SendOct
long
SendCnt
long
SendPend
long
State
string
LastBlockedBy
string
LastBlockedAge
string
Channels
long
Type
string
Node
string
Name
string
Address
string
Port
int
PeerHost
string
PeerPort
int
Ssl
bool
PeerCertSubject
string
PeerCertIssuer
string
PeerCertValidity
string
AuthMechanism
string
SslProtocol
string
SslKeyExchange
string
SslCipher
string
SslHash
string
Protocol
string
User
string
Vhost
string
Timeout
long
FrameMax
long
ClientProperties
IReadOnlyDictionary<string, object>
Equals(Connection?)
public virtual bool Equals(Connection? other)
Parameters
other
Connection
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 Connection <Clone>$()
Returns
- Connection
Operators
operator ==(Connection?, Connection?)
public static bool operator ==(Connection? left, Connection? right)
Parameters
left
Connection
right
Connection
Returns
- bool
operator !=(Connection?, Connection?)
public static bool operator !=(Connection? left, Connection? right)
Parameters
left
Connection
right
Connection
Returns
- bool