The first great Three Rings renaming. Cocktail changed to Narya, Cher

changed to Presents and Party changed to Crowd. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@431 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-11 04:07:54 +00:00
parent ac477756ea
commit 8a4c46badc
170 changed files with 832 additions and 805 deletions
@@ -1,7 +1,7 @@
//
// $Id: ClassUtil.java,v 1.3 2001/10/03 03:38:21 mdb Exp $
// $Id: ClassUtil.java,v 1.4 2001/10/11 04:07:53 mdb Exp $
package com.threerings.cocktail.cher.util;
package com.threerings.presents.util;
import java.lang.reflect.Method;
import java.util.HashMap;
@@ -9,7 +9,7 @@ import java.util.HashMap;
import com.samskivert.util.MethodFinder;
import com.samskivert.util.StringUtil;
import com.threerings.cocktail.cher.Log;
import com.threerings.presents.Log;
/**
* Class related utility functions.
@@ -1,13 +1,13 @@
//
// $Id: Invoker.java,v 1.2 2001/08/14 06:48:31 mdb Exp $
// $Id: Invoker.java,v 1.3 2001/10/11 04:07:53 mdb Exp $
package com.threerings.cocktail.cher.util;
package com.threerings.presents.util;
import com.samskivert.util.LoopingThread;
import com.samskivert.util.Queue;
import com.threerings.cocktail.cher.Log;
import com.threerings.cocktail.cher.server.CherServer;
import com.threerings.presents.Log;
import com.threerings.presents.server.PresentsServer;
/**
* The invoker is used to invoke self-contained units of code on an
@@ -19,7 +19,7 @@ import com.threerings.cocktail.cher.server.CherServer;
*
* <p> The invoker is a useful tool for services that need to block and
* therefore cannot be run on the distributed object thread. For example,
* a user of the Cher system might provide an invoker on which to run
* a user of the Presents system might provide an invoker on which to run
* database queries.
*
* <p> Bear in mind that each invoker instance runs units on its own
@@ -102,7 +102,7 @@ public class Invoker extends LoopingThread
if (((Unit)unit).invoke()) {
// if it returned true, we post it to the dobjmgr
// thread to invoke the result processing
CherServer.omgr.postUnit((Runnable)unit);
PresentsServer.omgr.postUnit((Runnable)unit);
}
} catch (Exception e) {
@@ -1,14 +1,14 @@
//
// $Id: PresentsContext.java,v 1.3 2001/07/21 01:06:24 mdb Exp $
// $Id: PresentsContext.java,v 1.4 2001/10/11 04:07:53 mdb Exp $
package com.threerings.cocktail.cher.util;
package com.threerings.presents.util;
import com.samskivert.util.Context;
import com.threerings.cocktail.cher.client.Client;
import com.threerings.cocktail.cher.dobj.DObjectManager;
import com.threerings.presents.client.Client;
import com.threerings.presents.dobj.DObjectManager;
public interface CherContext extends Context
public interface PresentsContext extends Context
{
/**
* Returns a reference to the client. This reference should be valid
@@ -1,14 +1,14 @@
//
// $Id: StreamableArrayList.java,v 1.1 2001/10/04 23:02:07 mdb Exp $
// $Id: StreamableArrayList.java,v 1.2 2001/10/11 04:07:53 mdb Exp $
package com.threerings.cocktail.cher.util;
package com.threerings.presents.util;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.util.ArrayList;
import com.threerings.cocktail.cher.io.Streamable;
import com.threerings.presents.io.Streamable;
/**
* Provides a means by which an ordered collection of streamable instances
@@ -17,7 +17,7 @@ import com.threerings.cocktail.cher.io.Streamable;
* object value can be supplied, but bear in mind that once the list is
* created, it's elements cannot be changed without rebroadcasting the
* entire list. It is not like a {@link
* com.threerings.cocktail.cher.dobj.DSet} which allows individual
* com.threerings.presents.dobj.DSet} which allows individual
* elements to be added or removed.
*/
public class StreamableArrayList