KacperTonia-UniversityRepos/Codeine

[Scenario 6] Free task ID of agent removed from network

Closed this issue · 0 comments

  1. Agent A has registered task ID: 21.
  2. Agent B tries to register task ID: 21, receives STOPWIP packet (don't register, I'm working on it) and sets task ID: 21's state as WIP.
  3. Agent A disconnects.
  4. Agent A is not sending IMALIVE packets for a prolonged amount of time. Agent B removes Agent A from his network topology array.
  5. Agent B should set task ID: 21 as free/unregistered.