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/MonitorManager.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorManager.java (file contents):
Revision 1.16 by tdb, Tue May 21 16:47:16 2002 UTC vs.
Revision 1.17 by tdb, Sat Oct 12 22:12:36 2002 UTC

# Line 182 | Line 182 | public class MonitorManager extends Thread {
182       * threads.
183       */
184      public void run() {
185        // construct now, and use multiple times
186        XMLPacketMaker xmlPacketMaker = new XMLPacketMaker();
187        
185          boolean run=true;
186          
187          // keep these out here, saves recreating the object
# Line 201 | Line 198 | public class MonitorManager extends Thread {
198              XMLPacket packet = null;
199              
200              try {
201 <                packet = xmlPacketMaker.createXMLPacket(xml);
201 >                packet = _xmlCache.getXMLPacket(xml);
202              } catch(InvalidXMLException e) {
203                  _logger.write(toString(), Logger.ERROR, "Invalid XML: "+e);
204                  // skip the rest of this loop iteration
# Line 339 | Line 336 | public class MonitorManager extends Thread {
336       * Outgoing ALL Queue
337       */
338      private Queue _allQueue;
339 +    
340 +    /**
341 +     * A reference to the XMLCache in use
342 +     */
343 +    private XMLCache _xmlCache = XMLCache.getInstance();
344      
345   //---STATIC ATTRIBUTES---
346  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines