Hello,
i�m learning to do
thread pools and i�ve found some good examples, but there�s something i would like to know. All the examples i�ve seen so far when they use newInstance in order to give the thread the code to work, they always use it with no arguments. How could i use newInstace with a class whose constructor requires arguments? For example, my class queryListener, its constructor is like this "queryListener(Socket socketa, Socket socket b,
String text)", how should i do the newInstance if i want the thread to run the code inside my class?
Thanks!