ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/DataReader.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/DataReader.java (file contents):
Revision 1.7 by ajm, Wed Jan 24 03:09:45 2001 UTC vs.
Revision 1.10 by ajm, Sun Jan 28 23:48:16 2001 UTC

# Line 55 | Line 55 | public class DataReader extends Thread {
55              // continue until we are told to stop
56              while (_running) {
57                  line = _inBound.readLine();
58 +                if (line == null) {
59 +                    throw new IOException("unexpected loss of connection to server");
60 +                }
61                  _dataQueue.add(line);
62              }
63          
# Line 62 | Line 65 | public class DataReader extends Thread {
65              _inBound.close();
66          
67          } catch (IOException e) {
68 <            SwingClient.addMessage("Data Channel Shutdown: reason - "+e);
68 >            Conient.addMessage("WARNING{data reader}: inbound data stopped - "+e);
69              _running = false;
70          }
71      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines