More progress.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3849 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-14 04:07:02 +00:00
parent 8366c150f4
commit 4d7fb64b8c
16 changed files with 582 additions and 38 deletions
@@ -0,0 +1,31 @@
package com.threerings.presents.net {
import com.threerings.presents.dobj.DObject;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
public class AuthResponseData extends DObject
{
/** A constant used to indicate a successful authentication. */
public static const SUCCESS :String = "success";
/** Either the SUCCESS constant or a reason code indicating
* why the authentication failed. */
public var code :String;
// documentation inherited
public function writeObject (out :ObjectOutputStream) :void
{
super.writeObject(out);
out.writeField(code);
}
// documentation inherited
public function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
code = ins.readField(String);
}
}
}