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:
Jamie Doornbos
2008-04-30 18:27:45 +00:00
parent e74035a05c
commit 3d65f679e8
2 changed files with 64 additions and 29 deletions
@@ -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 (