Table of Contents

Class P2PConnectionState

Namespace
DotCompute.Core.Memory
Assembly
DotCompute.Core.dll

P2P connection state tracking.

public sealed class P2PConnectionState
Inheritance
P2PConnectionState
Inherited Members

Properties

Capability

Gets or sets the capability.

public P2PConnectionCapability? Capability { get; init; }

Property Value

P2PConnectionCapability

The capability.

Device1Id

Gets or sets the device1 identifier.

public required string Device1Id { get; init; }

Property Value

string

The device1 id.

Device2Id

Gets or sets the device2 identifier.

public required string Device2Id { get; init; }

Property Value

string

The device2 id.

EstablishedAt

Gets or sets the established at.

public DateTime EstablishedAt { get; init; }

Property Value

DateTime

The established at.

IsActive

Gets or sets a value indicating whether active.

public required bool IsActive { get; init; }

Property Value

bool

The is active.

TotalBytesTransferred

Gets or sets the total bytes transferred.

public long TotalBytesTransferred { get; set; }

Property Value

long

The total bytes transferred.

TransferCount

Gets or sets the transfer count.

public long TransferCount { get; set; }

Property Value

long

The transfer count.