public DeviceClient( string deviceId, IoTHubProtocol protocol, IDeviceClientWrapper client, IDeviceMethods deviceMethods, ILogger logger) { this.deviceId = deviceId; this.protocol = protocol; this.client = client; this.deviceMethods = deviceMethods; this.log = logger; this.propertiesUpdateRequest = new DeviceProperties(client, this.log); }
public DeviceClient( string deviceId, IoTHubProtocol protocol, Azure.Devices.Client.DeviceClient client, IDeviceMethods deviceMethods, IRateLimiting rateLimiting, ILogger logger) { this.deviceId = deviceId; this.protocol = protocol; this.client = client; this.deviceMethods = deviceMethods; this.rateLimiting = rateLimiting; this.log = logger; this.connected = false; }
public DeviceClient( string deviceId, IoTHubProtocol protocol, IDeviceClientWrapper client, IDeviceMethods deviceMethods, IServicesConfig servicesConfig, ILogger logger) { this.deviceId = deviceId; this.protocol = protocol; this.client = client; this.deviceMethods = deviceMethods; this.log = logger; this.deviceTwinEnabled = servicesConfig.DeviceTwinEnabled; this.propertiesUpdateRequest = new DeviceProperties(servicesConfig, logger); }