Classes

  ClassDescription
Public classIgnoreAttribute
Used by timeline manager to prevent some Timelines from being added
Public classTimeline<(Of <(<'T>)>)>
A timeline of values. This is the main interface for storing, manipulating, and synchronizing data in Janus.
Public classTimelineBase
The base class of Timeline<(Of <(<'T>)>)>. Needed for untyped collections of timelines.
Public classTimelineClient
Timeline client handles networking between client and the timeline server Handles connection, disconnection, timing and processing of incoming and outgoing messages
Public classTimelineContext<(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
Public classTimelineEntry<(Of <(<'T>)>)>
An entry in a Timeline. Includes the value, the time associated with that value and pointers to the previous and next entries
Public classTimelineManager
Manages timelines locally. Provides a message interface to communicate with a remote synchronizer.
Public classTimelineMessage
Holds all the information contained in a timeline message
Public classTimelineServer
Networks to the timeline clients Establishes connections and processes incoming and outgoing messages
Public classTimelineSynchronizer
Provides a message interface to synchronizes multiple, remote timeline managers.
Public classTimelineUtils
Creates functions many utility functions such as interpolation, extrapolation, encoding, decoding and send filters

Delegates

  DelegateDescription
Public delegateClientConnectedHandler
Triggered when the client successfully connects to the timeline synchronizer
Public delegateClientDisconnectedHandler
Triggered when the client disconnects from the timeline synchronizer
Public delegatePeerConnectedHandler
Triggered when a new peer connects to the TimelineSynchronizer
Public delegatePeerDisconnectedHandler
Triggered when a peer disconnects from the TimelineSynchronizer
Public delegatePeerUpdatedHandler
Triggered after each clock synchronization
Public delegateServerStartingHandler
Triggered when timeline server is starting
Public delegateTimelineConnectedHandler
Triggered when a new peer connects to an existing timeline
Public delegateTimelineCreatedHandler
Triggered when a timeline is first connected to the TimelineSynchronizer
Public delegateTimelineDecoder<(Of <(<'T>)>)>
Decodes an array of value bytes into a value.
Public delegateTimelineDestroyedHandler
Triggered when all peers have disconnected from a timeline
Public delegateTimelineDisconnectedHandler
Triggered when a peer disconnects from a timeline
Public delegateTimelineEncoder<(Of <(<'T>)>)>
Encodes a value into an array of value bytes.
Public delegateTimelineEntryHandler<(Of <(<'T>)>)>
Responds to a value after it has been inserted, wether of remote or local origin.
Public delegateTimelineExtrapolator<(Of <(<'T>)>)>
Gets a value by extrapolating from a TimelineContext<(Of <(<'T>)>)>.
Public delegateTimelineIDGenerator
Function to use to generate a byte id from a string name
Public delegateTimelineInterpolator<(Of <(<'T>)>)>
Gets a value by interpolating from a TimelineContext<(Of <(<'T>)>)>.
Public delegateTimelineSendFilter<(Of <(<'T>)>)>
Determines whether or not a change should be propagated.
Public delegateTimelineSetHandler
Triggered when a set message is processed
Public delegateTimelineUpdatedHandler
Triggered when the number of peers connected to a timeline changes, (but not from 0 to 1 or from 1 to 0)

Enumerations

  EnumerationDescription
Public enumerationDeliveryMode
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
Public enumerationTimelineMessageType
Used to indicate the type of timeline message being sent over the network
Public enumerationTimestampMode
Options for how timestamps are treated: Absolute, Relative or None. The default is Absolute