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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java (file contents):
Revision 1.23 by tdb, Mon Mar 5 09:50:58 2001 UTC vs.
Revision 1.25 by tdb, Tue Mar 13 02:19:47 2001 UTC

# Line 37 | Line 37 | class HostInit extends Thread {
37       * @param socket The socket to which the host is connected
38       */
39      public HostInit(Socket socket) throws IOException {
40 +        // set the Thread name
41 +        setName("filtermanager.HostInit");
42 +        
43          _socket = socket;
44          // setup reader & writer
45          _socketIn = new BufferedReader(new InputStreamReader(_socket.getInputStream()));
# Line 151 | Line 154 | class HostInit extends Thread {
154                                               + filterRef.getTCPPort());
155                          }
156                          else {
157 <                            // ...or throw a wobbly
157 >                            // ...or throw a wobbly (and tell the host!)
158 >                            _socketOut.println("ERROR");
159                              throw new IOException("unable to find filter for host");
160                          }
161                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines