ConnectionsHandler Class

Handles incoming TCP connections from devices, regardless of protocol (AMQP, MQTT, etc.);

Definition

Namespace: MobileTrack.Receiver
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
internal sealed class ConnectionsHandler : BackgroundService
Inheritance
Object    BackgroundService    ConnectionsHandler

Constructors

ConnectionsHandler Default constructor (through dependency injection) Dependency injected loggerDependency injected configuration settingsService Bus client, which we will be using for handling incoming commands to pass to the Devices.Dependency injected Cosmos DB handlerThe connection collections for clean up

Methods

Dispose Dispose the ConnectionsHandler, including the QueueProcessor.
(Overrides BackgroundServiceDispose)

See Also