private TestDeviceCache(Action <LoRaDevice> onRefreshDevice, LoRaDeviceCacheOptions options, NetworkServerConfiguration networkServerConfiguration, bool callDeviceRefresh = false, Func <LoRaDevice, LoRaPayload, bool> validateMic = null) : base(options, networkServerConfiguration, NullLogger <LoRaDeviceCache> .Instance, TestMeter.Instance) { this.onRefreshDevice = onRefreshDevice; this.callDeviceRefresh = callDeviceRefresh; this.configuration = networkServerConfiguration; this.validateMic = validateMic; this.cacheOptions = options; }
public TestDeviceCache(Action <LoRaDevice> onRefreshDevice, LoRaDeviceCacheOptions options, bool callDeviceRefresh) : this(onRefreshDevice, options, new NetworkServerConfiguration(), callDeviceRefresh : callDeviceRefresh) { }
public TestDeviceCache(Action <LoRaDevice> onRefreshDevice, LoRaDeviceCacheOptions options) : this(onRefreshDevice, options, new NetworkServerConfiguration()) { }
public TestDeviceCache(LoRaDeviceCacheOptions options) : this(null, options, new NetworkServerConfiguration()) { }
public TestDeviceCache(LoRaDeviceCacheOptions options, bool callDeviceRefresh) : this(null, options, new NetworkServerConfiguration(), callDeviceRefresh) { }
public TestDeviceCache(LoRaDeviceCacheOptions options, Func <LoRaDevice, LoRaPayload, bool> validateMic) : this(null, options, new NetworkServerConfiguration(), validateMic : validateMic) { }