Service Layer high complexity mobile
3
Dependencies
0
Dependents
2
Entities
0
Integrations

Description

Orchestrates the full lifecycle of dispatching an encrypted assignment: fetches the recipient's public key, triggers client-side encryption, submits the encrypted blob to the REST API, and tracks delivery confirmation. Also handles read receipt callbacks when the peer mentor first opens the assignment.

Feature: Encrypted Assignment Dispatch

assignment-dispatch-service

Responsibilities

  • Coordinate encryption and submission of a new assignment
  • Record delivery confirmation from the REST API response
  • Register read receipt when the peer mentor first decrypts and views the assignment
  • Expose assignment status (dispatched, delivered, read) to the UI layer

Interfaces

dispatchAssignment(draft)
confirmDelivery(assignmentId)
recordReadReceipt(assignmentId)
getAssignmentStatus(assignmentId)
listOpenAssignments(coordinatorId)
cancelAssignment(assignmentId)

Relationships

Dependencies (3)

Components this component depends on

Related Data Entities (2)

Data entities managed by this component