code for communication for remote actor

code for communication for remote actor