The class Thread has the following methods:
getData
this method returns the Thread's attached DATA
start
this method starts the Thread
stop
this method stops the Thread
next
this method will call the callback passed as param when the thread's state changes