Updated some bits.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4058 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-04-26 00:47:49 +00:00
parent 8d87138d2a
commit ad9a3e54e3
5 changed files with 31 additions and 20 deletions
@@ -7,14 +7,14 @@ public class PingRequest extends UpstreamMessage
/** The number of milliseconds of idle upstream that are allowed to elapse
* before the client sends a ping message to the server to let it
* know that we're still alive. */
public static const PING_INTERVAL :int = 60 * 1000;
public static const PING_INTERVAL :uint = 60 * 1000;
public function PingRequest ()
{
super();
}
public function getPackStamp () :Number
public function getPackStamp () :uint
{
return _packStamp;
}
@@ -22,11 +22,11 @@ public class PingRequest extends UpstreamMessage
// documentation inherited
public override function writeObject (out :ObjectOutputStream) :void
{
_packStamp = new Date().getTime();
_packStamp = flash.util.getTimer();
super.writeObject(out);
}
/** A time stamp obtained when we serialize this object. */
protected var _packStamp :Number;
protected var _packStamp :uint;
}
}