The TimelineSynchronizer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TimelineSynchronizer |
Creates a new timeline synchronizer.
|
Methods
| Name | Description | |
|---|---|---|
| ConnectPeer |
Connect a peer to the timeline synchronizer
| |
| DisconnectPeer |
Disconnect a peer from the timeline synchronizer
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetOutgoingMessages |
Creates an array of all outgoing messages for one peer
| |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ProcessIncomingMessage |
Process a message from one of the peers
| |
| Step()()()() |
Increments the local time and processes messages.
Time delta is automatically calculated from previous frame.
| |
| Step(Double) |
Increments the local time and processes messages.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| DefaultEntryCacheSize |
Default number of values to store on the TimelineSynchronizer
| |
| Now |
Current time measured in seconds since the TimelineSynchronizer started
| |
| PeerIndices |
Array of the indices for all the peers currently connected to the TimelineSynchronizer
| |
| PingRate |
Frequency of ping messages used for synchronizing the clocks between
the peers and the TimelineSynchronizer
|
Events
| Name | Description | |
|---|---|---|
| PeerConnected |
Triggered when a new peer connects to the TimelineSynchronizer
| |
| PeerDisconnected |
Triggered when a peer disconnects from the TimelineSynchronizer
| |
| PeerUpdated |
Triggered after each clock synchronization.
| |
| TimelineConnected |
Triggered when a new peer connects to an existing timeline
| |
| TimelineCreated |
Triggered when a timeline is first connected to the TimelineSynchronizer
| |
| TimelineDestroyed |
Triggered when all peers have disconnected from a timeline
| |
| TimelineDisconnected |
Triggered when a peer disconnects from a timeline
| |
| TimelineSet |
Triggered when a set message is processed
| |
| TimelineUpdated |
Triggered when the number of peers connected to a timeline changes, (but not from 0 to 1 or from 1 to 0)
|