changed remote server API to allow creating multiple servers (RemoteServer) or one (RemoteServerNode), also added a shutdown method
This commit is contained in:
parent
794750f7fa
commit
1787307dad
23 changed files with 288 additions and 160 deletions
|
|
@ -7,7 +7,8 @@ package se.scalablesolutions.akka.api;
|
|||
import se.scalablesolutions.akka.Config;
|
||||
import se.scalablesolutions.akka.actor.ActiveObject;
|
||||
import se.scalablesolutions.akka.config.ActiveObjectConfigurator;
|
||||
import se.scalablesolutions.akka.nio.RemoteServer;
|
||||
import se.scalablesolutions.akka.nio.RemoteServerNode;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
public class RemoteInMemoryStateTest extends TestCase {
|
||||
|
|
@ -16,7 +17,7 @@ public class RemoteInMemoryStateTest extends TestCase {
|
|||
static {
|
||||
new Thread(new Runnable() {
|
||||
public void run() {
|
||||
RemoteServer.start();
|
||||
RemoteServerNode.start();
|
||||
}
|
||||
}).start();
|
||||
try { Thread.currentThread().sleep(1000); } catch (Exception e) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue