Worker.java
408 Bytes
package pad.prac2;
import java.io.BufferedReader;
import java.io.PrintWriter;
public class Worker extends Thread
{
private PrintWriter output;
private BufferedReader input;
private MySocket sock;
public Worker(MySocket s, PrintWriter o, BufferedReader i)
{
sock = s;
output = o;
input = i;
}
public void run()
{
if(output == null)
{
}
else if(input == null)
{
}
}
}