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:
@@ -158,13 +158,13 @@ public class CompoundEvent extends DEvent
|
||||
public override function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
super.writeObject(out);
|
||||
out.writeField(_events);
|
||||
out.writeObject(_events);
|
||||
}
|
||||
|
||||
public override function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
_events = ins.readField(StreamableArrayList);
|
||||
_events = ins.readObject();
|
||||
}
|
||||
|
||||
/** The object manager that we'll post ourselves to when we're
|
||||
|
||||
Reference in New Issue
Block a user