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 = 4Signals that all records for interval-based schemas have been published for the given timestamp.
Heartbeat = 0A message sent in the absence of other records to indicate the connection remains open.
ReplayCompleted = 3Indicates a replay subscription has caught up with real-time data.
SlowReaderWarning = 2The gateway has detected this session is falling behind real-time.
SubscriptionAck = 1An acknowledgement of a subscription request.
Unset = 255No 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.