public DeviceTelemetryActor( ILogger logger, IActorsLogger actorLogger, SendTelemetry sendTelemetryLogic, IInstance instance) { this.log = logger; this.actorLogger = actorLogger; this.sendTelemetryLogic = sendTelemetryLogic; this.instance = instance; this.Message = null; this.status = ActorStatus.None; this.deviceModel = null; this.deviceId = null; this.deviceStateActor = null; this.totalMessagesCount = 0; this.failedMessagesCount = 0; }
public DeviceTelemetryActor( ILogger logger, IActorsLogger actorLogger, IRateLimiting rateLimiting, SendTelemetry sendTelemetryLogic) { this.log = logger; this.actorLogger = actorLogger; this.rateLimiting = rateLimiting; this.sendTelemetryLogic = sendTelemetryLogic; this.Message = null; this.status = ActorStatus.None; this.deviceModel = null; this.deviceId = null; this.deviceStateActor = null; this.totalMessagesCount = 0; this.failedMessagesCount = 0; }