We've always been at war with Eurasia. Changed InvocationManager to
InvocationDirector (please god let the renaming be done). Removed IntMap and modified code to use samskivert's HashIntMap. Also modified PlaceManager and PlaceRegistry such that there is no Properties object supplied for configuration (let the derived classes sort out how they want to configure their managers) and so that the PlaceManager tells the PlaceRegistry what sort of PlaceObject derived class it wants to manage rather than having that come from the configuration. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@374 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//
|
||||
// $Id: ChatService.java,v 1.4 2001/10/01 22:14:55 mdb Exp $
|
||||
// $Id: ChatService.java,v 1.5 2001/10/02 02:07:50 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.party.chat;
|
||||
|
||||
import com.threerings.cocktail.cher.client.Client;
|
||||
import com.threerings.cocktail.cher.client.InvocationManager;
|
||||
import com.threerings.cocktail.cher.client.InvocationDirector;
|
||||
import com.threerings.cocktail.party.Log;
|
||||
|
||||
/**
|
||||
@@ -33,10 +33,10 @@ public class ChatService implements ChatCodes
|
||||
public static int tell (Client client, String target, String message,
|
||||
ChatDirector rsptarget)
|
||||
{
|
||||
InvocationManager invmgr = client.getInvocationManager();
|
||||
InvocationDirector invdir = client.getInvocationDirector();
|
||||
Object[] args = new Object[] { target, message };
|
||||
Log.info("Sending tell request [tgt=" + target +
|
||||
", msg=" + message + "].");
|
||||
return invmgr.invoke(MODULE_NAME, TELL_REQUEST, args, rsptarget);
|
||||
return invdir.invoke(MODULE_NAME, TELL_REQUEST, args, rsptarget);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user