Table of Contents

Class SmsQueuePage

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

One page of the SMS queue, with the numbers that say whether it is moving.

public sealed class SmsQueuePage
Inheritance
SmsQueuePage
Inherited Members

Remarks

Shaped as EmailQueuePage is, for the same reasons: the counts and both oldest-row ages are over the whole table, and the age of the oldest unclaimed row is the alarm. A player who chose verify-by-SMS is as stuck by a dead SMS drain as an email player is by a dead mail drain, and just as silently.

Properties

Counts

How many rows are in each state, over the whole table.

public EmailQueueCounts Counts { get; set; }

Property Value

EmailQueueCounts

Items

The rows on this page.

public IReadOnlyList<SmsQueueAdminData> Items { get; set; }

Property Value

IReadOnlyList<SmsQueueAdminData>

OldestPendingCreatedAt

When the oldest pending row was enqueued (UTC), or null when nothing waits.

public DateTime? OldestPendingCreatedAt { get; set; }

Property Value

DateTime?

OldestUnsentCreatedAt

When the oldest undelivered row was enqueued (UTC), or null when all went out.

public DateTime? OldestUnsentCreatedAt { get; set; }

Property Value

DateTime?

Page

1-based page number.

public int Page { get; set; }

Property Value

int

PageSize

Rows per page, after clamping.

public int PageSize { get; set; }

Property Value

int

ReadAtUtc

When the read was taken (UTC), by the database clock. See ReadAtUtc.

public DateTime ReadAtUtc { get; set; }

Property Value

DateTime

TotalCount

Rows matching the filter, across every page.

public int TotalCount { get; set; }

Property Value

int