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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/WebFeeder.java (file contents):
Revision 1.3 by tdb, Thu Mar 8 21:22:28 2001 UTC vs.
Revision 1.4 by tdb, Thu Mar 8 21:37:39 2001 UTC

# Line 53 | Line 53 | public class WebFeeder {
53      // that to a file.
54      
55      public void receiveXMLPacket(XMLPacket packet) {
56 +        String packetType = packet.getParam("packet.attributes.type");
57 +        if(packetType == null || !packetType.equals("data")) {
58 +            // bail out, without warning
59 +            // this is probably a heartbeat or similar
60 +            return;
61 +        }
62          // get config proxy
63          ConfigurationProxy cp = ConfigurationProxy.getInstance();
64          // get file locations

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines