Make our _iid available to the SafeInterval.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2854 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SafeInterval.java,v 1.1 2002/06/05 02:50:57 mdb Exp $
|
||||
// $Id: SafeInterval.java,v 1.2 2003/11/12 23:37:47 mdb Exp $
|
||||
|
||||
package com.threerings.presents.client.util;
|
||||
|
||||
@@ -47,9 +47,13 @@ public abstract class SafeInterval
|
||||
/** Handles the proper scheduling and queueing. */
|
||||
public void intervalExpired (int id, Object arg)
|
||||
{
|
||||
_iid = id;
|
||||
_client.getInvoker().invokeLater(this);
|
||||
}
|
||||
|
||||
/** The client via which we queue ourselves when we expire. */
|
||||
protected Client _client;
|
||||
|
||||
/** Configured with our current interval id when we are triggered. */
|
||||
protected int _iid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user