Some more progress.

I still need to work on the Streaming, but I've figured out how
to do a bit of introspection which will be necessary when streaming an array.
Started working on the client classes, did ClientObserver and SessionObserver
stuff using flash's event notification system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3846 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-10 03:44:20 +00:00
parent 132dad93d2
commit 85d56cceec
12 changed files with 580 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
package com.threerings.util {
public class long extends Object
implements Streamable
{
public function long (lowbits :int, highbits :int = 0)
{
_lowbits = lowbits;
_highbits = highbits;
}
// documentation inherited from interface Streamable
public function writeObject (out :ObjectOutputStream) :void
//throws IOError
{
out.writeInt(_lowbits);
out.writeInt(_highbits);
}
// documentation inherited from interface Streamable
public function readObject (ins :ObjectInputStream) :void
//throws IOError
{
_lowbits = ins.readInt();
_highbits = ins.readInt();
}
/** Yon bits. */
protected var _lowbits :int, _highbits :int;
}
}