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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/PacketSorter.java (file contents):
Revision 1.22 by tdb, Wed Feb 5 16:43:46 2003 UTC vs.
Revision 1.25 by tdb, Wed Dec 8 14:50:32 2004 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 < * http://www.i-scream.org.uk
3 > * http://www.i-scream.org
4   * Copyright (C) 2000-2002 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
# Line 131 | Line 131 | class PacketSorter extends Thread {
131                  continue;
132              }
133              
134 +            if(packet == null) {
135 +                continue;
136 +            }
137 +            
138              String packetType = packet.getParam("packet.attributes.type");
139              // check if we need to send it regardless
140 <            if(packetType.equals("data") || packetType.equals("heartbeat")) {
140 >            if(packetType.equals("data")) {
141                  String host = packet.getParam("packet.attributes.machine_name");
142                  
143                  // look in the hostMap to see if anyone wants this data

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines