Created fooCodes interfaces to go along with invocation service

packages. These contain all the message codes as well as error response
codes that are used by a particular invocation service.

Also changed client.LocationManager to client.LocationDirector and
chat.ChatManager to chat.ChatDirector to go along with the new philosophy
of naming the client-side managing entity for an invocation service a
director.

Also elimitated cocktail.util.Codes since it's no longer used as a central
repository for codes (instead they are in InvocationCodes and its
derivatives).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@368 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-01 22:14:55 +00:00
parent 543f977475
commit 027bb29769
17 changed files with 186 additions and 113 deletions
@@ -1,12 +1,11 @@
//
// $Id: DummyAuthenticator.java,v 1.2 2001/05/30 23:58:31 mdb Exp $
// $Id: DummyAuthenticator.java,v 1.3 2001/10/01 22:14:55 mdb Exp $
package com.threerings.cocktail.cher.server;
import com.threerings.cocktail.cher.Log;
import com.threerings.cocktail.cher.net.*;
import com.threerings.cocktail.cher.server.net.Authenticator;
import com.threerings.cocktail.cher.util.Codes;
public class DummyAuthenticator implements Authenticator
{
@@ -17,7 +16,7 @@ public class DummyAuthenticator implements Authenticator
{
Log.info("Accepting request: " + req);
AuthResponseData rdata = new AuthResponseData();
rdata.code = Codes.SUCCESS;
rdata.code = AuthResponseData.SUCCESS;
return new AuthResponse(rdata);
}
}