May 2017
Intermediate to advanced
414 pages
13h
English
In step two, we see there is message object, which contains messages to be sent to the actors. Actors will use these messages for communication.
In step three, we define RandomNumberGeneratorActor, which receives the message GiveMeRandomNumber, and sends it to the sender as follows:
sender ! Done(randomNumber)
In step four, we define QueryActor, which actually sends the message to RandomNumberGenerator, and receives the result in case of Done.
In step five, we create a test application to see the execution flow of the whole message.
Read now
Unlock full access