Logon not login.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@121 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -52,7 +52,7 @@ has to be registered in a single place, since it pretty much does anyway.
|
|||||||
* Client detail:
|
* Client detail:
|
||||||
+ Supply credentials (username, password)
|
+ Supply credentials (username, password)
|
||||||
+ Establishes, maintains connection:
|
+ Establishes, maintains connection:
|
||||||
login (connect), logout (disconnect)
|
logon (connect), logout (disconnect)
|
||||||
+ Creates, manages client-side DObjectManager
|
+ Creates, manages client-side DObjectManager
|
||||||
|
|
||||||
* Events in the client will be dispatched on the AWT thread
|
* Events in the client will be dispatched on the AWT thread
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Communicator.java,v 1.10 2001/07/19 07:48:25 mdb Exp $
|
// $Id: Communicator.java,v 1.11 2001/07/25 00:26:44 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.cher.client;
|
package com.threerings.cocktail.cher.client;
|
||||||
|
|
||||||
@@ -340,7 +340,7 @@ public class Communicator
|
|||||||
Log.info("Got auth response: " + data);
|
Log.info("Got auth response: " + data);
|
||||||
|
|
||||||
// if the auth request failed, we want to let the communicator
|
// if the auth request failed, we want to let the communicator
|
||||||
// know by throwing a login exception
|
// know by throwing a logon exception
|
||||||
if (!data.code.equals(Codes.SUCCESS)) {
|
if (!data.code.equals(Codes.SUCCESS)) {
|
||||||
throw new LogonException(data.code);
|
throw new LogonException(data.code);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user