Struct SessionCloseCounts
Sessions closed since the process started, one count per close reason. Cumulative.
public readonly struct SessionCloseCounts : IEquatable<SessionCloseCounts>
- Implements
- Inherited Members
Constructors
SessionCloseCounts(long, long, long, long, long, long, long, long, long)
Sessions closed since the process started, one count per close reason. Cumulative.
public SessionCloseCounts(long ClientLeft, long Kicked, long LinkLost, long Lagging, long Unacknowledged, long ProtocolError, long ServerShutdown, long InternalError, long Abusive)
Parameters
ClientLeftlongThe client left with
BYE.KickedlongThe application kicked it.
LinkLostlongThe link went away without a goodbye.
LagginglongClosed 1013: denied frames for
CloseStalledAfter, or owed a reliable event past it.UnacknowledgedlongClosed 4001: no
PINGwithin the silence bound.ProtocolErrorlongClosed for a protocol violation.
ServerShutdownlongClosed because the server stopped.
InternalErrorlongClosed because the engine faulted serving it.
AbusivelongClosed 1008 for sustained refused messages.
Properties
Abusive
Closed 1008 for sustained refused messages.
public long Abusive { get; init; }
Property Value
ClientLeft
The client left with BYE.
public long ClientLeft { get; init; }
Property Value
InternalError
Closed because the engine faulted serving it.
public long InternalError { get; init; }
Property Value
Kicked
The application kicked it.
public long Kicked { get; init; }
Property Value
Lagging
Closed 1013: denied frames for CloseStalledAfter, or owed a reliable event past it.
public long Lagging { get; init; }
Property Value
LinkLost
The link went away without a goodbye.
public long LinkLost { get; init; }
Property Value
ProtocolError
Closed for a protocol violation.
public long ProtocolError { get; init; }
Property Value
ServerShutdown
Closed because the server stopped.
public long ServerShutdown { get; init; }
Property Value
Unacknowledged
Closed 4001: no PING within the silence bound.
public long Unacknowledged { get; init; }
Property Value
Methods
Deconstruct(out long, out long, out long, out long, out long, out long, out long, out long, out long)
public void Deconstruct(out long ClientLeft, out long Kicked, out long LinkLost, out long Lagging, out long Unacknowledged, out long ProtocolError, out long ServerShutdown, out long InternalError, out long Abusive)
Parameters
ClientLeftlongKickedlongLinkLostlongLagginglongUnacknowledgedlongProtocolErrorlongServerShutdownlongInternalErrorlongAbusivelong
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(SessionCloseCounts)
public bool Equals(SessionCloseCounts other)
Parameters
otherSessionCloseCounts
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SessionCloseCounts, SessionCloseCounts)
public static bool operator ==(SessionCloseCounts left, SessionCloseCounts right)
Parameters
leftSessionCloseCountsrightSessionCloseCounts
Returns
operator !=(SessionCloseCounts, SessionCloseCounts)
public static bool operator !=(SessionCloseCounts left, SessionCloseCounts right)
Parameters
leftSessionCloseCountsrightSessionCloseCounts