StudyDeploymentProxy class

Performs the deployment steps for a Study against a DeploymentService.

Used by ClientManager (as ClientManager.proxy) to fetch the deployment status, register the device, get the PrimaryDeviceDeployment, and stop studies. Results are written to the Study. Most errors are not thrown; they are reported on the study as StudyStatusEventTypes.DeploymentError events.

Constructors

StudyDeploymentProxy(DeploymentService deploymentService)

Properties

deploymentService → DeploymentService
The service used for all deployment calls.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStudyDeploymentStatus(Study<PrimaryDeviceDeployment> study) → Future<StudyDeploymentStatus?>
Get the deployment status for the study from the deployment service. This updates the Study.deploymentStatus and sets the study Study.status accordingly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop(Study<PrimaryDeviceDeployment> study) → Future<void>
Permanently stop this study.
toString() → String
A string representation of this object.
inherited
tryDeployment(Study<PrimaryDeviceDeployment> study, DeviceRegistration registration) → Future<void>
Tries to deploy the study by registering the client device using registration and fetching the device deployment once it is available.

Operators

operator ==(Object other) → bool
The equality operator.
inherited