Class ScheduledTask

java.lang.Object
  extended byjava.util.TimerTask
      extended byScheduledTask
All Implemented Interfaces:
java.lang.Runnable

public class ScheduledTask
extends java.util.TimerTask

Timer class to wake appropriate Thread when the program does not strictly keep to the producer consumer paradigm. Created by IntelliJ IDEA. User: ofsdahl Date: 26.jan.2007 Time: 12:11:51 To change this template use File | Settings | File Templates.


Field Summary
(package private)  ClientNetworkThread client
           
(package private)  LeGaMidlet lega
           
 
Fields inherited from class java.util.TimerTask
 
Constructor Summary
ScheduledTask(ClientNetworkThread client)
          Initialize member references
ScheduledTask(LeGaMidlet lega)
          Initialize member references
 
Method Summary
 void run()
          runs after a given timelapse as a TimerTask Thread. simply wakes the appropriate thread, or invokes the timesUp method according to where it is called from.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

ClientNetworkThread client

lega

LeGaMidlet lega
Constructor Detail

ScheduledTask

public ScheduledTask(ClientNetworkThread client)
Initialize member references

Parameters:
client -

ScheduledTask

public ScheduledTask(LeGaMidlet lega)
Initialize member references

Parameters:
lega -
Method Detail

run

public void run()
runs after a given timelapse as a TimerTask Thread. simply wakes the appropriate thread, or invokes the timesUp method according to where it is called from.