Created a test service and provider and sorted out further details.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@71 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-07-19 07:48:25 +00:00
parent 933896e503
commit d55ce27b2b
9 changed files with 75 additions and 11 deletions
@@ -1,5 +1,5 @@
//
// $Id: PresentsServer.java,v 1.6 2001/07/19 07:09:16 mdb Exp $
// $Id: PresentsServer.java,v 1.7 2001/07/19 07:48:25 mdb Exp $
package com.threerings.cocktail.cher.server;
@@ -9,6 +9,8 @@ import com.threerings.cocktail.cher.server.net.AuthManager;
import com.threerings.cocktail.cher.server.net.ConnectionManager;
import com.threerings.cocktail.cher.server.test.TestObject;
import com.threerings.cocktail.cher.server.test.TestProvider;
import com.threerings.cocktail.cher.client.test.TestService;
/**
* The cher server provides a central point of access to the various
@@ -51,6 +53,9 @@ public class CherServer
// create an object for testing
omgr.createObject(TestObject.class, null, false);
// register our test provider
invmgr.registerProvider(TestService.MODULE, new TestProvider());
} catch (Exception e) {
Log.warning("Unable to initialize server.");
Log.logStackTrace(e);