Package dk.cachet.carp.studies.infrastructure

Types

Link copied to clipboard
class InMemoryParticipantRepository : ParticipantRepository
Link copied to clipboard

A StudyRepository which holds studies in memory as long as the instance is held in memory.

Link copied to clipboard
class RecruitmentServiceLoggingProxy(service: RecruitmentService, eventBus: EventBus, log: (LoggedRequest<RecruitmentService, RecruitmentService.Event>) -> Unit) : ApplicationServiceLoggingProxy<RecruitmentService, RecruitmentService.Event> , RecruitmentService

A proxy for a recruitment service which notifies of incoming requests and responses through log and keeps a history of requests and published events in loggedRequests.

Link copied to clipboard
sealed class RecruitmentServiceRequest<out TReturn> : ApplicationServiceRequest<RecruitmentService, TReturn>

Serializable application service requests to RecruitmentService which can be executed on demand.

Link copied to clipboard
class StudyServiceLoggingProxy(service: StudyService, eventBus: EventBus, log: (LoggedRequest<StudyService, StudyService.Event>) -> Unit) : ApplicationServiceLoggingProxy<StudyService, StudyService.Event> , StudyService

A proxy for a study service which notifies of incoming requests and responses through log and keeps a history of requests and published events in loggedRequests.

Link copied to clipboard
sealed class StudyServiceRequest<out TReturn> : ApplicationServiceRequest<StudyService, TReturn>

Serializable application service requests to StudyService which can be executed on demand.