Interface IDeviceStateChecksumSynchronizer
- Namespace
- Geotab.Checkmate.ObjectModel.Registration.Gateway
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Interface defining the reqirements for a service which creates device related checksum's for synchronization among independent systems.
public interface IDeviceStateChecksumSynchronizer
Remarks
Similar to IDeviceStateChecksumProvider but each system brings their own data and uses a common/shared routine.
Properties
HashAlgorithmType
Gets the hash algorithm type.
HashAlgorithmType HashAlgorithmType { get; }
Property Value
- HashAlgorithmType
HashAlgorithmType The hash algorithm type.
Source
Gets the source name of the service.
string Source { get; }
Property Value
Methods
CreateDeviceRegistrationChecksumAsync(IAsyncEnumerable<DeviceRegistrationState>?, CancellationToken)
Creates a device synchronization checksum including the device registration states to be used among independent systems.
Task<string?> CreateDeviceRegistrationChecksumAsync(IAsyncEnumerable<DeviceRegistrationState>? deviceRegistrationStates, CancellationToken cancellationToken = default)
Parameters
deviceRegistrationStates
IAsyncEnumerable<DeviceRegistrationState>The device registration states.
cancellationToken
CancellationTokenThe CancellationToken.