Got compiling working under Linux, now correcting various errors.

Checkpoint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3866 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-20 02:38:56 +00:00
parent f8c8f6e983
commit 7a80c5cb43
41 changed files with 453 additions and 141 deletions
@@ -5,20 +5,14 @@ import com.threerings.io.ObjectOutputStream;
public class AuthRequest extends UpstreamMessage
{
public function AuthRequest ()
{
super();
}
public function AuthRequest (creds :Credentials, version :String)
{
super();
_creds = creds;
_version = version;
}
// documentation inherited
public function writeObject (out :ObjectOutputStream) :void
public override function writeObject (out :ObjectOutputStream) :void
{
super.writeObject(out);
@@ -27,7 +21,7 @@ public class AuthRequest extends UpstreamMessage
}
// documentation inherited
public function readObject (ins :ObjectInputStream) :void
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
_creds = ins.readObject();
@@ -10,7 +10,7 @@ public class AuthResponse extends DownstreamMessage
return _data;
}
public function readObject (ins :ObjectInputStream) :void
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
_data = ins.readObject();
@@ -1,5 +1,7 @@
package com.threerings.presents.net {
import flash.util.trace;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamable;
@@ -9,7 +9,7 @@ public class BootstrapNotification extends DownstreamMessage
return _data;
}
public function readObject (ins :ObjectInputStream) :void
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
_data = ins.readObject();
@@ -1,5 +1,7 @@
package com.threerings.presents.net {
import flash.util.trace;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamable;
@@ -32,7 +32,7 @@ public class EventNotification extends DownstreamMessage
return _event;
}
public override function toString () :String
public function toString () :String
{
return "[type=EVT, evt=" + _event + "]";
}
@@ -41,6 +41,6 @@ public class FailureResponse extends DownstreamMessage
_oid = ins.readInt();
}
protected int _oid;
protected var _oid :int;
}
}
@@ -56,7 +56,7 @@ public class ForwardEventRequest extends UpstreamMessage
_event = ins.readObject();
}
public override function toString () :String
public function toString () :String
{
return "[type=FWD, evt=" + _event + "]";
}
@@ -40,7 +40,7 @@ public class UnsubscribeResponse extends DownstreamMessage
return "[type=UNACK, msgid=" + messageId + ", oid=" + _oid + "]";
}
public function readObject (ins :ObjectInputStream) :void
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
_oid = ins.readInt();
@@ -1,5 +1,7 @@
package com.threerings.presents.net {
import flash.util.trace;
import com.threerings.io.Streamable;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
@@ -55,9 +55,9 @@ public class UsernamePasswordCreds extends Credentials
}
// documentation inherited
protected override function toString (buf :StringBuilder)
protected override function toStringBuf (buf :StringBuilder)
{
super.toString(buf);
super.toStringBuf(buf);
buf.append(", password=", _password);
}