addObserver -> addClientObserver.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@982 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-09 20:47:11 +00:00
parent 284e8ef6ed
commit 635e9cf930
11 changed files with 22 additions and 22 deletions
@@ -1,5 +1,5 @@
//
// $Id: TestClient.java,v 1.7 2001/11/08 02:07:36 mdb Exp $
// $Id: TestClient.java,v 1.8 2002/02/09 20:47:11 mdb Exp $
package com.threerings.crowd.client;
@@ -28,7 +28,7 @@ public class TestClient
_occmgr = new OccupantManager(_ctx);
// we want to know about logon/logoff
_client.addObserver(this);
_client.addClientObserver(this);
// for test purposes, hardcode the server info
_client.setServer("localhost", 4007);
@@ -1,5 +1,5 @@
//
// $Id: TestClient.java,v 1.5 2001/11/08 02:07:36 mdb Exp $
// $Id: TestClient.java,v 1.6 2002/02/09 20:47:11 mdb Exp $
package com.threerings.parlor;
@@ -38,7 +38,7 @@ public class TestClient
_pardtr.setInvitationHandler(this);
// we want to know about logon/logoff
_client.addObserver(this);
_client.addClientObserver(this);
// for test purposes, hardcode the server info
_client.setServer("localhost", 4007);
@@ -1,5 +1,5 @@
//
// $Id: TestClient.java,v 1.12 2001/11/08 02:07:36 mdb Exp $
// $Id: TestClient.java,v 1.13 2002/02/09 20:47:11 mdb Exp $
package com.threerings.presents.client;
@@ -117,7 +117,7 @@ public class TestClient
new UsernamePasswordCreds("test", "test");
Client client = new Client(creds, tclient);
tclient.setClient(client);
client.addObserver(tclient);
client.addClientObserver(tclient);
client.setServer("localhost", 4007);
client.logon();
// start up our event processing loop
@@ -1,5 +1,5 @@
//
// $Id: TestClient.java,v 1.9 2001/12/17 03:36:36 mdb Exp $
// $Id: TestClient.java,v 1.10 2002/02/09 20:47:11 mdb Exp $
package com.threerings.whirled;
@@ -37,7 +37,7 @@ public class TestClient
_ctx, _locdir, _screp, new DefaultDisplaySceneFactory());
// we want to know about logon/logoff
_client.addObserver(this);
_client.addClientObserver(this);
// we want to know about location changes
_locdir.addLocationObserver(this);