Initzialer Commit mit dem aktuellen Stand
This commit is contained in:
parent
ba4867d4f5
commit
c50b9c4aff
14 changed files with 2291 additions and 0 deletions
30
src/server/ServerHandelClientsThread.java
Normal file
30
src/server/ServerHandelClientsThread.java
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package server;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author eichehome
|
||||
*/
|
||||
public class ServerHandelClientsThread extends Thread {
|
||||
|
||||
private Socket clientSocket = null;
|
||||
private ClientMessageDistributorThread messageDistributor = null;
|
||||
|
||||
public void run() {
|
||||
PrintWriter pr = new PrintWriter(clientSocket.getOutputStream(), true);
|
||||
InputStreamReader in = new InputStreamReader(clientSocket.getInputStream());
|
||||
BufferedReader bf = new BufferedReader(in);
|
||||
}
|
||||
|
||||
public ServerHandelClientsThread(Socket socket, ClientMessageDistributorThread distributor) {
|
||||
clientSocket = socket;
|
||||
messageDistributor = distributor;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue