What are you trying to do? What do you mean by "Listener in a Thread"? Listener for what?