Progress on the presents client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3848 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.threerings.presents.net {
|
||||
|
||||
import com.threerings.io.Streamable;
|
||||
|
||||
public class DownstreamMessage
|
||||
implements Streamable
|
||||
{
|
||||
/** The message id of the upstream message with which this downstream
|
||||
* message is associated (or -1 if it is not associated with any
|
||||
* upstream message). */
|
||||
public var messageId :int = -1;
|
||||
|
||||
// documentation inherited from interface Streamable
|
||||
public function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
out.writeShort(messageId);
|
||||
}
|
||||
|
||||
// documentation inherited from interface Streamable
|
||||
public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
messageId = ins.readShort();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user