3.4 Dynamic Actors 4

This example is contained in org.eclipse.etrice.examples.dynamicactors4.

3.4.1 Purpose

The example demonstrates the usage of an optional actor. But here not the actor containing the optional reference is communicating with the optional actor but one level above.

3.4.2 Details

The Controller which has a reference to the Container is asking the latter for the creation of the dynamic actor. When it receives ok() it is requesting sayHello() from the newly created actor.

After the Controller receives hello() it tells the Container to create another actor which fails because the old one is still in place.

3.4.3 Noteworthy