Keep track of the client object id in the agent object (this will allow WhirledGameManager.validateUser to check out a dispatch from a bureau client)

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5152 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-06-05 00:16:46 +00:00
parent 63d228ee4c
commit 443ad8e139
3 changed files with 109 additions and 61 deletions
@@ -320,6 +320,7 @@ public class BureauRegistry
switch (found.state) {
case Bureau.STARTED:
found.bureau.agentStates.put(found.agent, Bureau.RUNNING);
found.agent.setClientOid(client.getOid());
break;
case Bureau.STILL_BORN: