Table of Contents

Class TopicSighting

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

When a topic was last published or subscribed through the gateway; 0 = never.

public sealed record TopicSighting : IEquatable<TopicSighting>
Inheritance
TopicSighting
Implements
Inherited Members

Constructors

TopicSighting(long, long)

When a topic was last published or subscribed through the gateway; 0 = never.

public TopicSighting(long LastPublishedMs = 0, long LastSubscribedMs = 0)

Parameters

LastPublishedMs long
LastSubscribedMs long

Properties

LastPublishedMs

public long LastPublishedMs { get; init; }

Property Value

long

LastSeenMs

public long LastSeenMs { get; }

Property Value

long

LastSubscribedMs

public long LastSubscribedMs { get; init; }

Property Value

long

Methods

Merge(TopicSighting)

public TopicSighting Merge(TopicSighting other)

Parameters

other TopicSighting

Returns

TopicSighting

Of(TopicUse, long)

public static TopicSighting Of(TopicUse use, long ms)

Parameters

use TopicUse
ms long

Returns

TopicSighting