Given the Scala code below:
actor1
actor2 ! 'some_message
actor2
receive (or react)
{
case 'some_message
sender ! 'ok_message
What info about the sender (actor1) can actor2 get ?
How can it tell which actor the message came from if more than one actor can send the same message to actor2 ? Is there metadata in sender that can be queried ?
Am a newcomer to Scala. Thanks for your patience.
...Ken R