A universal actor can be created at any desired theater by specifying its UAN and UAL . For instance, one can create a universal actor at current host as follows:
HelloWorld helloWorld = new HelloWorld() at (new UAN("uan://nameserver/id")); |
HelloWorld helloWorld = new HelloWorld() at (new UAN("uan://nameserver/id"), new UAL("rmsp://host1:4040/id")); |
HelloWorld helloWorld = new HelloWorld( ); |