Table of Contents

Class BuiltInEvents

Namespace
Typhon.Protocol
Assembly
Typhon.Protocol.dll

The events the engine declares itself, at reserved indices 0–15 (W27): today one, EventsLost.

public static class BuiltInEvents
Inheritance
BuiltInEvents
Inherited Members

Fields

EventsLost

The name of the event that tells a session how many events it was never sent: the ones routed to it while it was skipped for longer than the event log keeps (09 § 11, D7). First in its frame's EVENTS block when present.

public const string EventsLost = "EventsLost"

Field Value

string

EventsLostCountField

The EventsLost field carrying the count.

public const string EventsLostCountField = "count"

Field Value

string

EventsLostIdx

The reserved index of EventsLost.

public const int EventsLostIdx = 0

Field Value

int

SessionScope

The scope token of an event addressed to one session: EventsLost, and an application's RouteToSession events.

public const string SessionScope = "session"

Field Value

string

Methods

CreateEventsLost()

Builds the EventsLost event: one varu count.

public static CatalogEvent CreateEventsLost()

Returns

CatalogEvent

The event definition.

HasEventsLostShape(CatalogEvent)

Whether e is shaped exactly as CreateEventsLost() builds it: one varu field named count.

public static bool HasEventsLostShape(CatalogEvent e)

Parameters

e CatalogEvent

An event named EventsLost.

Returns

bool

true when the shape matches.

ReservedIdx(string)

The reserved index of a built-in event, or −1 when name is an application event.

public static int ReservedIdx(string name)

Parameters

name string

The event name.

Returns

int

The reserved index, or −1.