Skip to content
Snippets Groups Projects
Commit 73ae123d authored by Alex's avatar Alex
Browse files

add handling inform valin supervisor Init

parent 517c617a
Branches
No related tags found
No related merge requests found
......@@ -67,6 +67,12 @@ class Supervisor(val pb : DCOP, val algorithm: Algorithm, val initialContext: Co
}
directory.allActors().foreach(_ ! Trace)
stay using status
//when it receives an InformValue from an early agent
case Event(InformValue(_), status) => {
stash
stay using status
}
//When the supervisor is triggered
case Event(Trigger, status) =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment