Need to use UsernamePasswordCreds to log in (Credentials is abstract in
Java, but there's no such thing in actionscript). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3877 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package com.threerings.presents.client {
|
||||
|
||||
import com.threerings.util.Name;
|
||||
import com.threerings.presents.net.Credentials;
|
||||
import com.threerings.presents.net.UsernamePasswordCreds;
|
||||
|
||||
public class TestClient extends Client
|
||||
{
|
||||
public function TestClient ()
|
||||
{
|
||||
super(new Credentials(new Name("Ray")));
|
||||
super(new UsernamePasswordCreds(new Name("Ray"), "fork-u-2"));
|
||||
setServer("tasman.sea.earth.threerings.net", DEFAULT_SERVER_PORT);
|
||||
logon();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user