The TimelineSynchronizer type exposes the following members.

Constructors

  NameDescription
Public methodTimelineSynchronizer
Creates a new timeline synchronizer.

Methods

  NameDescription
Public methodConnectPeer
Connect a peer to the timeline synchronizer
Public methodDisconnectPeer
Disconnect a peer from the timeline synchronizer
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetOutgoingMessages
Creates an array of all outgoing messages for one peer
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProcessIncomingMessage
Process a message from one of the peers
Public methodStep()()()()
Increments the local time and processes messages. Time delta is automatically calculated from previous frame.
Public methodStep(Double)
Increments the local time and processes messages.
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyStatic memberDefaultEntryCacheSize
Default number of values to store on the TimelineSynchronizer
Public propertyNow
Current time measured in seconds since the TimelineSynchronizer started
Public propertyPeerIndices
Array of the indices for all the peers currently connected to the TimelineSynchronizer
Public propertyPingRate
Frequency of ping messages used for synchronizing the clocks between the peers and the TimelineSynchronizer

Events

  NameDescription
Public eventPeerConnected
Triggered when a new peer connects to the TimelineSynchronizer
Public eventPeerDisconnected
Triggered when a peer disconnects from the TimelineSynchronizer
Public eventPeerUpdated
Triggered after each clock synchronization.
Public eventTimelineConnected
Triggered when a new peer connects to an existing timeline
Public eventTimelineCreated
Triggered when a timeline is first connected to the TimelineSynchronizer
Public eventTimelineDestroyed
Triggered when all peers have disconnected from a timeline
Public eventTimelineDisconnected
Triggered when a peer disconnects from a timeline
Public eventTimelineSet
Triggered when a set message is processed
Public eventTimelineUpdated
Triggered when the number of peers connected to a timeline changes, (but not from 0 to 1 or from 1 to 0)

See Also