configure method

  1. @mustCallSuper
Future<void> configure({
  1. required DeploymentService deploymentService,
  2. required DeviceDataCollectorFactory deviceController,
  3. TRegistration? registration,
})

Configure this ClientManager by specifying:

  • deploymentService - where to get study deployments
  • deviceController that handles devices connected to this client
  • registration - a unique device registration for this client device

Implementation

@mustCallSuper
Future<void> configure({
  required DeploymentService deploymentService,
  required DeviceDataCollectorFactory deviceController,
  TRegistration? registration,
}) async {
  this._deploymentService = deploymentService;
  this._deviceController = deviceController;
  this.registration = registration;
}