Blame view

JChatServer/src/pad/prac2/Worker.java 408 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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)
		{

		}
	}

}