Initial pass at place registry and place manager stuff.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@135 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-08-01 03:22:54 +00:00
parent 82831f3baf
commit 51f410cbd9
4 changed files with 232 additions and 3 deletions
@@ -1,5 +1,5 @@
//
// $Id: CrowdServer.java,v 1.1 2001/07/23 21:14:27 mdb Exp $
// $Id: CrowdServer.java,v 1.2 2001/08/01 03:22:54 mdb Exp $
package com.threerings.cocktail.party.server;
@@ -19,6 +19,9 @@ public class PartyServer extends CherServer
/** The namespace used for server config properties. */
public static final String CONFIG_KEY = "party";
/** The place registry. */
public PlaceRegistry plreg;
/**
* Initializes all of the server services and prepares for operation.
*/
@@ -34,6 +37,9 @@ public class PartyServer extends CherServer
// configure the client to use the body object
clmgr.setClientObjectClass(BodyObject.class);
// create our place registry
plreg = new PlaceRegistry(config);
// register our invocation service providers
registerProviders(config.getValue(PROVIDERS_KEY, (String[])null));