//scale and translate the random to get a number between 1 and 3 mins
double doubleLength = m_random.nextDouble() * 120000.0 + 60000.0;
//long doubleLength = 20000; //for debug only...
long lengthOfTime = (long) doubleLength;
TimerManager tm = new TimerManagerImpl();
m_timer = tm.schedule(this, lengthOfTime);
}
public void timerExpired(Timer timer)
{