outdoor users(19)
This commit is contained in:
parent
f975bc29d0
commit
03d3c77895
1 changed files with 103 additions and 103 deletions
|
@ -38,9 +38,9 @@ class ReceiveThread extends Thread {
|
|||
public void run()
|
||||
{
|
||||
boolean exit = false;
|
||||
try
|
||||
{
|
||||
while(!exit)
|
||||
{
|
||||
try
|
||||
{
|
||||
ObjectInputStream in = new ObjectInputStream(socket.getInputStream());
|
||||
Notification notif = (Notification) in.readObject();
|
||||
|
@ -138,13 +138,13 @@ class ReceiveThread extends Thread {
|
|||
displayArea.setCaretPosition(displayArea.getDocument().getLength());
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
/*e.printStackTrace();
|
||||
System.out.println("Socket closed");
|
||||
e.printStackTrace();
|
||||
/*System.out.println("Socket closed");
|
||||
dest_sockets.remove(socket);
|
||||
outdoor_dest_sockets.remove(socket);*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue