Table of Contents

Enum SystemCode

Namespace
DatabentoDotNet.Dbn
Assembly
DatabentoDotNet.Dbn.dll

A SystemMsg code indicating the type of message from the live subscription gateway.

public enum SystemCode : byte
Extension Methods

Fields

EndOfInterval = 4

Signals that all records for interval-based schemas have been published for the given timestamp.

Heartbeat = 0

A message sent in the absence of other records to indicate the connection remains open.

ReplayCompleted = 3

Indicates a replay subscription has caught up with real-time data.

SlowReaderWarning = 2

The gateway has detected this session is falling behind real-time.

SubscriptionAck = 1

An acknowledgement of a subscription request.

Unset = 255

No system code was specified, or this record was upgraded from a version 1 struct where the code field didn't exist.

Remarks

Discriminants are non-contiguous: 0 through 4 are sequential, then Unset jumps to 255. Upstream marks this type #[non_exhaustive]; Databento may add variants in a future release without that being a breaking change. See WireStrings for string conversions; wire strings are the mechanical snake_case of the variant name, with no aliases.