027bb29769
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
31 lines
867 B
Java
31 lines
867 B
Java
//
|
|
// $Id: AuthResponseData.java,v 1.7 2001/10/01 22:14:55 mdb Exp $
|
|
|
|
package com.threerings.cocktail.cher.net;
|
|
|
|
import com.threerings.cocktail.cher.dobj.DObject;
|
|
|
|
/**
|
|
* An <code>AuthResponseData</code> object is communicated back to the
|
|
* client along with an authentication response. It contains an indicator
|
|
* of authentication success or failure along with bootstrap information
|
|
* for the client.
|
|
*/
|
|
public class AuthResponseData extends DObject
|
|
{
|
|
/** The constant used to indicate a successful authentication. */
|
|
public static final String SUCCESS = "success";
|
|
|
|
/**
|
|
* Either the {@link #SUCCESS} constant or a reason code indicating
|
|
* why the authentication failed.
|
|
*/
|
|
public String code;
|
|
|
|
// documentation inherited
|
|
protected void toString (StringBuffer buf)
|
|
{
|
|
buf.append(", code=").append(code);
|
|
}
|
|
}
|