1 / 13

Systems Programming Assignment 3

Systems Programming Assignment 3. Mission name Skill Time PreRequisites Items. Warehouse Hold all the resources Sergeants tack resources and release them. Dead lock can occur here. Board. Hold all the missions In the beginning, main adds all the missions to the board

ldennis
Download Presentation

Systems Programming Assignment 3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Systems ProgrammingAssignment 3

  2. Mission • name • Skill • Time • PreRequisites • Items

  3. Warehouse • Hold all the resources • Sergeants tack resources and release them Dead lock can occur here

  4. Board • Hold all the missions • In the beginning, main adds all the missions to the board • The Chief of Staff takes all the relevant missions • Sergeants modify the mission in the board

  5. Mission Holder • Hold missions that can be worked on • Chief of Staff adds and removes missions from the Mission Holder • Is used only by the Chief of Staff • Should be verified through TDD

  6. Chief of Staff • Takes missions from the board and adds them to missions holder • Gives missions to sergeants

  7. Sergeants • Get missions from the Chief of Staff • Get items from the warehouse • Work on the mission • Release the items • If there is more time to work on the mission, return it to his sergeant • If there is no more time, notify about it and check if there are missions in the board with satisfied prerequisites.

  8. Observer • Read commands from the console • The observer provides a way to know what is happening in the program • He can stop the program at any time

  9. Startup • Read config files names • Set up the logger • Read the config files • Set-up the system: • Create the board • Create the warehouse • Create the sergeants • Create the Chief of Staff • Start the observer, sergeants and Chief of Staff

  10. Don’t forget • Checkstyle • Pmd • Ant

  11. Common Questions • Can I add more classes? • Yes • Do you require checkstyle also for our tests? • We will not grade you on it • Can I change the interfaces in the final program? • Yes, but you will be graded on the first one too. • Can we have a delay? • Collective: no, specific: email us • If you have Questions, please post it in the forum so everyone can see it • Questions that will be sent by email will not be answered

  12. Questions

More Related