Quantum 3 3.0.10

Public Member Functions | Properties | List of all members
Photon.Deterministic.IDeterministicSnapshotProvider Interface Reference

An interface that can be added to the Quantum session to overwrite the default snapshot sending for late-joiners. More...

Inheritance diagram for Photon.Deterministic.IDeterministicSnapshotProvider:
Quantum.Experimental.QuantumSnapshotProviderDemo

Public Member Functions

FrameSnapshot[] GetSnapshot ()
 Returns the completed encoded snapshot. More...
 
void Init (DeterministicSession session, IDisposable frameContext)
 Initializing the snapshot provider for this Quantum session. Used to create a frame container. More...
 
void RequestSnapshot (DeterministicSession session, int referenceTick)
 Requesting a snapshot, use to CopyFrom and start async computation. More...
 

Properties

int ExtraHeapCount [get]
 Return the number of additional frame heaps required for this tool to work. More...
 
bool IsCompleted [get]
 Returns true when a snapshot is read to be completed. More...
 

Detailed Description

An interface that can be added to the Quantum session to overwrite the default snapshot sending for late-joiners.

Member Function Documentation

◆ Init()

void Photon.Deterministic.IDeterministicSnapshotProvider.Init ( DeterministicSession  session,
IDisposable  frameContext 
)

Initializing the snapshot provider for this Quantum session. Used to create a frame container.

Implemented in Quantum.Experimental.QuantumSnapshotProviderDemo.

◆ RequestSnapshot()

void Photon.Deterministic.IDeterministicSnapshotProvider.RequestSnapshot ( DeterministicSession  session,
int  referenceTick 
)

Requesting a snapshot, use to CopyFrom and start async computation.

Implemented in Quantum.Experimental.QuantumSnapshotProviderDemo.

◆ GetSnapshot()

FrameSnapshot [] Photon.Deterministic.IDeterministicSnapshotProvider.GetSnapshot ( )

Returns the completed encoded snapshot.

Implemented in Quantum.Experimental.QuantumSnapshotProviderDemo.

Property Documentation

◆ ExtraHeapCount

int Photon.Deterministic.IDeterministicSnapshotProvider.ExtraHeapCount
get

Return the number of additional frame heaps required for this tool to work.

◆ IsCompleted

bool Photon.Deterministic.IDeterministicSnapshotProvider.IsCompleted
get

Returns true when a snapshot is read to be completed.