Classes
Class | Description | |
---|---|---|
![]() | IgnoreAttribute |
Used by timeline manager to prevent some Timelines from being added
|
![]() | Timeline<(Of <(<'T>)>)> |
A timeline of values. This is the main interface for storing, manipulating, and synchronizing data in Janus.
|
![]() | TimelineBase |
The base class of Timeline<(Of <(<'T>)>)>. Needed for untyped collections of timelines.
|
![]() | TimelineClient |
Timeline client handles networking between client and the timeline server
Handles connection, disconnection, timing and processing of incoming and outgoing messages
|
![]() | TimelineContext<(Of <(<'T>)>)> |
Used for interpolation and extrapolation methods
The values before and after the interpolation (or extrapolation) time are stored in the TimelineContext
and then the interpolate and extrapolate functions use the context to return a timeline value
|
![]() | TimelineEntry<(Of <(<'T>)>)> |
An entry in a Timeline.
Includes the value, the time associated with that value and pointers to the previous and next entries
|
![]() | TimelineManager |
Manages timelines locally. Provides a message interface to communicate with a remote synchronizer.
|
![]() | TimelineMessage |
Holds all the information contained in a timeline message
|
![]() | TimelineServer |
Networks to the timeline clients
Establishes connections and processes incoming and outgoing messages
|
![]() | TimelineSynchronizer |
Provides a message interface to synchronizes multiple, remote timeline managers.
|
![]() | TimelineUtils |
Creates functions many utility functions such as interpolation, extrapolation, encoding, decoding and send filters
|
Delegates
Delegate | Description | |
---|---|---|
![]() | ClientConnectedHandler |
Triggered when the client successfully connects to the timeline synchronizer
|
![]() | ClientDisconnectedHandler |
Triggered when the client disconnects from the timeline synchronizer
|
![]() | PeerConnectedHandler |
Triggered when a new peer connects to the TimelineSynchronizer
|
![]() | PeerDisconnectedHandler |
Triggered when a peer disconnects from the TimelineSynchronizer
|
![]() | PeerUpdatedHandler |
Triggered after each clock synchronization
|
![]() | ServerStartingHandler |
Triggered when timeline server is starting
|
![]() | TimelineConnectedHandler |
Triggered when a new peer connects to an existing timeline
|
![]() | TimelineCreatedHandler |
Triggered when a timeline is first connected to the TimelineSynchronizer
|
![]() | TimelineDecoder<(Of <(<'T>)>)> |
Decodes an array of value bytes into a value.
|
![]() | TimelineDestroyedHandler |
Triggered when all peers have disconnected from a timeline
|
![]() | TimelineDisconnectedHandler |
Triggered when a peer disconnects from a timeline
|
![]() | TimelineEncoder<(Of <(<'T>)>)> |
Encodes a value into an array of value bytes.
|
![]() | TimelineEntryHandler<(Of <(<'T>)>)> |
Responds to a value after it has been inserted, wether of remote or local origin.
|
![]() | TimelineExtrapolator<(Of <(<'T>)>)> |
Gets a value by extrapolating from a TimelineContext<(Of <(<'T>)>)>.
|
![]() | TimelineIDGenerator |
Function to use to generate a byte id from a string name
|
![]() | TimelineInterpolator<(Of <(<'T>)>)> |
Gets a value by interpolating from a TimelineContext<(Of <(<'T>)>)>.
|
![]() | TimelineSendFilter<(Of <(<'T>)>)> |
Determines whether or not a change should be propagated.
|
![]() | TimelineSetHandler |
Triggered when a set message is processed
|
![]() | TimelineUpdatedHandler |
Triggered when the number of peers connected to a timeline changes, (but not from 0 to 1 or from 1 to 0)
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | DeliveryMode |
Options for how network messages are delivered: ReliableOrdered, ReliableUnordered or Unreliable.
ReliableOrdered is used for establishing connections and creating and deleting timelines
Unreliable is used for Timeline updates
|
![]() | TimelineMessageType |
Used to indicate the type of timeline message being sent over the network
|
![]() | TimestampMode |
Options for how timestamps are treated: Absolute, Relative or None.
The default is Absolute
|