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.1 by tdb, Mon Nov 13 20:40:40 2000 UTC vs.
Revision 1.4 by tdb, Wed Nov 15 00:54:27 2000 UTC

# Line 56 | Line 56 | class HostInit extends Thread {
56                  _socketOut.println("OK");
57                  _socketOut.flush();
58                  
59 +                // get lastmodified
60 +                inBound = _socketIn.readLine();
61 +                if(!inBound.equals("LASTMODIFIED")) {
62 +                        // protocol error
63 +                    _socketOut.println("ERROR");
64 +                    _socketOut.flush();
65 +                    throw new IOException("Protocol Error");
66 +                }
67 +                else {
68 +                        // send info
69 +                        _socketOut.println(myConfig.getLastModified());
70 +                        _socketOut.flush();
71 +                }
72 +                
73 +                // get properties
74                  inBound = _socketIn.readLine();
75                  while(!inBound.equals("ENDCONFIG")) {
76                            

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines