The readField()/writeField() methods are for marshalling objects that have

basic streamers defined for them (String, Integer, Boolean) and not
other arbitrary objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3863 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-19 03:19:54 +00:00
parent 97953e7668
commit bb379347f0
13 changed files with 21 additions and 41 deletions
@@ -90,13 +90,13 @@ public class EntryRemovedEvent extends NamedEvent
public override function writeObject (out :ObjectOutputStream) :void
{
super.writeObject(out);
out.writeField(_key);
out.writeObject(_key);
}
public override function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
_key = ins.readField(Comparable);
_key = ins.readObject();
}
protected var _key :Comparable;