Question
Use the UML diagrams designed below to complete a multi-threading Java implementation of the system. At the minimum: a. Each station should be implemented using
Use the UML diagrams designed below to complete a multi-threading Java implementation of the system.
At the minimum:
a. Each station should be implemented using a dedicated thread
b. The simulation control should be implemented using a dedicated thread.
c. The carrier should be a shared resource (as the bounded Q in the threads example).
d. Threads should have provisions for synchronization, avoidance of race conditions and deadlocks.
e. Threads cannot communicate with a other threads via inter-process communication (except for using locks and synch.)
Use Case Diagram Carrier State Diagram Simulation Actve Carrier Ready Message Recelved Sennse Carer Wat for Carnier 0 s1 Move Lett nsmssionn Station Colision Detected Wait for Echo Progress Move Message s2 Detett ColE sion Move Right Compete Cycle End Program tman args String woi station vcid update staton s tupdate carner Simulation State Diagram Class Dagran Simulation Check Station Sta Generate P1, R1, R2 R3, R4 [as needed) stabu boean bilty couble start transmissionc tcks RE selget paranm delayticks R delay2: ticks Setget paramaters Update Carrier Update Station Use Case Diagram Carrier State Diagram Simulation Actve Carrier Ready Message Recelved Sennse Carer Wat for Carnier 0 s1 Move Lett nsmssionn Station Colision Detected Wait for Echo Progress Move Message s2 Detett ColE sion Move Right Compete Cycle End Program tman args String woi station vcid update staton s tupdate carner Simulation State Diagram Class Dagran Simulation Check Station Sta Generate P1, R1, R2 R3, R4 [as needed) stabu boean bilty couble start transmissionc tcks RE selget paranm delayticks R delay2: ticks Setget paramaters Update Carrier Update StationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started