Use Case Data Flows
1st Case:
- user enters customer data
- add customer object to model
- add customer to scheduler
- send address to mapper
- mapper returns corresponding zone
- send Estimated Time of Arrival (ETA) to model
- store customer in data store
- ETA to dispatcherUI
2nd Case:
- scheduler task fires
- zone object retrieved from model for customer pickup
- task generates request for a ride (sends request through
model)
- accept / reject sent through model to scheduler
- scheduler tells model results of accept / reject
- model relays info to data store
3rd Case:
- dispatcher requests customer state from model
- model requests customer state from scheduler
- send data from scheduler to model
- send state from model to dispatcher - return value