Table of Contents

Class ByeFrame

Namespace
KernLab.Cell.Contracts
Assembly
KernLab.Cell.Contracts.dll

drain 令(宿主 → 容器):容器停止接新调用、在途跑完或窗口到期后退出(ExitCode 0)。

[WireMessageTag(5)]
public sealed record ByeFrame : CellFrame, IEquatable<CellFrame>, IEquatable<ByeFrame>
Inheritance
ByeFrame
Implements
Inherited Members

Constructors

ByeFrame()

public ByeFrame()

Properties

DrainWindowMilliseconds

drain 窗口(毫秒——窗口内只在途收尾;0=无窗口即退)。

public required int DrainWindowMilliseconds { get; init; }

Property Value

int

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(ByeFrame?)

public bool Equals(ByeFrame? other)

Parameters

other ByeFrame

Returns

bool

Equals(CellFrame?)

public override sealed bool Equals(CellFrame? other)

Parameters

other CellFrame

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

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ByeFrame?, ByeFrame?)

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

Parameters

left ByeFrame
right ByeFrame

Returns

bool

operator !=(ByeFrame?, ByeFrame?)

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

Parameters

left ByeFrame
right ByeFrame

Returns

bool