Fixed I/O in BureauRegistry and removed synchronization
* Keep an Invoker member * Added internal Launcher class to run ProcessBuilder.start on the invoker thread because it is blocking * Removed synchronized from methods, all ooo-servers are single threaded, hurray! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5033 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -74,7 +74,7 @@ public class TestServer extends PresentsServer
|
||||
throws Exception
|
||||
{
|
||||
super.init();
|
||||
breg = new BureauRegistry("localhost:47624", invmgr, omgr);
|
||||
breg = new BureauRegistry("localhost:47624", invmgr, omgr, invoker);
|
||||
|
||||
breg.setCommandGenerator("test", new BureauRegistry.CommandGenerator() {
|
||||
public String[] createCommand (
|
||||
|
||||
Reference in New Issue
Block a user