PresentsClient -> PresentsSession (Jamie's suggestion) and associated changes

on down the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5508 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-06 18:04:42 +00:00
parent a9f7175d2f
commit c69630b7e0
17 changed files with 98 additions and 101 deletions
@@ -32,7 +32,7 @@ import com.google.inject.Injector;
import com.google.inject.Singleton;
import com.threerings.presents.dobj.RootDObjectManager;
import com.threerings.presents.server.PresentsClient;
import com.threerings.presents.server.PresentsSession;
import com.threerings.presents.server.ShutdownManager;
import com.threerings.bureau.data.AgentObject;
@@ -199,7 +199,7 @@ public class RegistryTester
{
if (_rng1.nextInt(100) < _killBureauChance) {
log.info("Killing a bureau");
PresentsClient bureau = getRandomBureau();
PresentsSession bureau = getRandomBureau();
if (bureau == null) {
log.info("No bureaus to kill right now");
return;
@@ -221,7 +221,7 @@ public class RegistryTester
}
}
protected PresentsClient getRandomBureau ()
protected PresentsSession getRandomBureau ()
{
boolean[] tried = new boolean[_numBureaus];
for (int dead = 0; dead < _numBureaus;) {
@@ -230,7 +230,7 @@ public class RegistryTester
continue;
}
String id = "test-" + (index + 1);
PresentsClient client = _bureauReg.lookupClient(id);
PresentsSession client = _bureauReg.lookupClient(id);
if (client == null) {
++dead;
} else {