Table of Contents

Struct SessionCloseCounts

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

ClientLeft long

The client left with BYE.

Kicked long

The application kicked it.

LinkLost long

The link went away without a goodbye.

Lagging long

Closed 1013: denied frames for CloseStalledAfter, or owed a reliable event past it.

Unacknowledged long

Closed 4001: no PING within the silence bound.

ProtocolError long

Closed for a protocol violation.

ServerShutdown long

Closed because the server stopped.

InternalError long

Closed because the engine faulted serving it.

Abusive long

Closed 1008 for sustained refused messages.

Properties

Abusive

Closed 1008 for sustained refused messages.

public long Abusive { get; init; }

Property Value

long

ClientLeft

The client left with BYE.

public long ClientLeft { get; init; }

Property Value

long

InternalError

Closed because the engine faulted serving it.

public long InternalError { get; init; }

Property Value

long

Kicked

The application kicked it.

public long Kicked { get; init; }

Property Value

long

Lagging

Closed 1013: denied frames for CloseStalledAfter, or owed a reliable event past it.

public long Lagging { get; init; }

Property Value

long

LinkLost

The link went away without a goodbye.

public long LinkLost { get; init; }

Property Value

long

ProtocolError

Closed for a protocol violation.

public long ProtocolError { get; init; }

Property Value

long

ServerShutdown

Closed because the server stopped.

public long ServerShutdown { get; init; }

Property Value

long

Unacknowledged

Closed 4001: no PING within the silence bound.

public long Unacknowledged { get; init; }

Property Value

long

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

ClientLeft long
Kicked long
LinkLost long
Lagging long
Unacknowledged long
ProtocolError long
ServerShutdown long
InternalError long
Abusive long

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(SessionCloseCounts)

public bool Equals(SessionCloseCounts other)

Parameters

other SessionCloseCounts

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SessionCloseCounts, SessionCloseCounts)

public static bool operator ==(SessionCloseCounts left, SessionCloseCounts right)

Parameters

left SessionCloseCounts
right SessionCloseCounts

Returns

bool

operator !=(SessionCloseCounts, SessionCloseCounts)

public static bool operator !=(SessionCloseCounts left, SessionCloseCounts right)

Parameters

left SessionCloseCounts
right SessionCloseCounts

Returns

bool