Created a WhirledClient even though it doesn't yet do anything so that we
can extend it when extending the Whirled services rather than having to go down to CrowdClient and cut Whirled out of the loop. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@724 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// $Id: WhirledClient.java,v 1.1 2001/12/03 22:07:31 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.server;
|
||||
|
||||
import com.threerings.crowd.server.CrowdClient;
|
||||
|
||||
/**
|
||||
* The client object used by client management on the Whirled server.
|
||||
*/
|
||||
public class WhirledClient extends CrowdClient
|
||||
{
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: WhirledServer.java,v 1.9 2001/11/12 20:56:56 mdb Exp $
|
||||
// $Id: WhirledServer.java,v 1.10 2001/12/03 22:07:31 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.server;
|
||||
|
||||
@@ -44,6 +44,9 @@ public class WhirledServer extends CrowdServer
|
||||
// bind the whirled server config into the namespace
|
||||
config.bindProperties(CONFIG_KEY, CONFIG_PATH, true);
|
||||
|
||||
// configure the client to use our whirled client
|
||||
clmgr.setClientClass(WhirledClient.class);
|
||||
|
||||
// create and start up our invoker
|
||||
invoker = new Invoker();
|
||||
invoker.start();
|
||||
|
||||
Reference in New Issue
Block a user