 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Creating a new
Actor an migrating it to a
|
|
|
remote theater.
|
|
|
TravelAgent
a = new TravelAgent();
|
|
|
a<-bind( “uan://myhost/ta”,
“rmsp://myhost/agent1” ) @
|
|
a<-book( flight );
|
|
|
• |
Obtaining a
remote actor reference and
|
|
|
migrating it.
|
|
|
a<-getReferenceByName(“uan://myhost/ta”) @
|
|
|
a<-migrate( “rmsp://yourhost/travel”
) @
|
|
|
a<-printItinerary();
|
|