Changed getContext() to getParlorContext() to prevent naming conflict.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@942 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-05 22:58:23 +00:00
parent ff97ce2c25
commit 62c466b95f
3 changed files with 7 additions and 7 deletions
@@ -1,5 +1,5 @@
// //
// $Id: SimpleClient.java,v 1.1 2002/01/16 02:59:08 mdb Exp $ // $Id: SimpleClient.java,v 1.2 2002/02/05 22:58:23 mdb Exp $
package com.threerings.micasa.simulator.client; package com.threerings.micasa.simulator.client;
@@ -65,7 +65,7 @@ public class SimpleClient
* Returns a reference to the context in effect for this client. This * Returns a reference to the context in effect for this client. This
* reference is valid for the lifetime of the application. * reference is valid for the lifetime of the application.
*/ */
public ParlorContext getContext () public ParlorContext getParlorContext ()
{ {
return _ctx; return _ctx;
} }
@@ -1,5 +1,5 @@
// //
// $Id: SimulatorApp.java,v 1.3 2002/02/05 22:12:42 mdb Exp $ // $Id: SimulatorApp.java,v 1.4 2002/02/05 22:58:23 mdb Exp $
package com.threerings.micasa.simulator.client; package com.threerings.micasa.simulator.client;
@@ -46,7 +46,7 @@ public class SimulatorApp
// set up the top-level client controller // set up the top-level client controller
Controller ctrl = new ClientController( Controller ctrl = new ClientController(
_client.getContext(), _frame, siminfo); _client.getParlorContext(), _frame, siminfo);
_frame.setController(ctrl); _frame.setController(ctrl);
} }
@@ -80,7 +80,7 @@ public class SimulatorApp
_serverThread.start(); _serverThread.start();
// start up the client // start up the client
Client client = _client.getContext().getClient(); Client client = _client.getParlorContext().getClient();
// we're connecting to our own server // we're connecting to our own server
client.setServer("localhost", Client.DEFAULT_SERVER_PORT); client.setServer("localhost", Client.DEFAULT_SERVER_PORT);
@@ -1,5 +1,5 @@
// //
// $Id: SimulatorClient.java,v 1.2 2002/01/16 02:59:08 mdb Exp $ // $Id: SimulatorClient.java,v 1.3 2002/02/05 22:58:23 mdb Exp $
package com.threerings.micasa.simulator.client; package com.threerings.micasa.simulator.client;
@@ -7,5 +7,5 @@ import com.threerings.parlor.util.ParlorContext;
public interface SimulatorClient public interface SimulatorClient
{ {
public ParlorContext getContext (); public ParlorContext getParlorContext ();
} }