Table of Contents

Class CallbackResultFrame

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

回调回执(宿主 → 容器)。

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

Constructors

CallbackResultFrame()

public CallbackResultFrame()

Properties

CodecId

载荷编解码标识。

public required ushort CodecId { get; init; }

Property Value

ushort

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

ErrorCode

调用错误码(0=成功;CellInvocationErrors 表)。

public required ushort ErrorCode { get; init; }

Property Value

ushort

Payload

载荷。

[WireMember(MaxCount = 4194304)]
public required ReadOnlyMemory<byte> Payload { get; init; }

Property Value

ReadOnlyMemory<byte>

RequestId

对应回调的 RequestId。

public required ulong RequestId { get; init; }

Property Value

ulong

Methods

Equals(CallbackResultFrame?)

public bool Equals(CallbackResultFrame? other)

Parameters

other CallbackResultFrame

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 ==(CallbackResultFrame?, CallbackResultFrame?)

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

Parameters

left CallbackResultFrame
right CallbackResultFrame

Returns

bool

operator !=(CallbackResultFrame?, CallbackResultFrame?)

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

Parameters

left CallbackResultFrame
right CallbackResultFrame

Returns

bool