seqeron 0.18.0
Loading...
Searching...
No Matches
Org.Limitless.Seqeron.Replayer.Client.ISnapshotRestoreHandler Interface Reference

Takes a source's snapshot as a restore reads it from this instance's own file, before any frame after its cut is dispatched (doc/snapshot.md §7). Each restore, a restart's included, begins with OnSnapshotHeader. More...

Inheritance diagram for Org.Limitless.Seqeron.Replayer.Client.ISnapshotRestoreHandler:

Public Member Functions

bool SupportsFormatVersion (long formatVersion)
 Whether this build reads records of formatVersion ; a snapshot it does not read stops the restore.
 
void OnSnapshotHeader (SnapshotHeader header)
 Record 0, the façade's; the first call of each restore.
 
void OnSnapshotRecord (IDirectBuffer record, int length, int recordIndex, long formatVersion)
 One of the source's own records, in order.
 

Detailed Description

Takes a source's snapshot as a restore reads it from this instance's own file, before any frame after its cut is dispatched (doc/snapshot.md §7). Each restore, a restart's included, begins with OnSnapshotHeader.

Member Function Documentation

◆ OnSnapshotHeader()

void Org.Limitless.Seqeron.Replayer.Client.ISnapshotRestoreHandler.OnSnapshotHeader ( SnapshotHeader  header)

Record 0, the façade's; the first call of each restore.

Parameters
headerthe decoded header

◆ OnSnapshotRecord()

void Org.Limitless.Seqeron.Replayer.Client.ISnapshotRestoreHandler.OnSnapshotRecord ( IDirectBuffer  record,
int  length,
int  recordIndex,
long  formatVersion 
)

One of the source's own records, in order.

Parameters
recordholding the record from offset 0; valid only during this call
lengththe record's length
recordIndex0 for the record after the header
formatVersionthe snapshot's, one SupportsFormatVersion accepted

◆ SupportsFormatVersion()

bool Org.Limitless.Seqeron.Replayer.Client.ISnapshotRestoreHandler.SupportsFormatVersion ( long  formatVersion)

Whether this build reads records of formatVersion ; a snapshot it does not read stops the restore.

Parameters
formatVersionthe round's, as its SnapshotEnd carries it

The documentation for this interface was generated from the following file: