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

Comparing projects/cms/source/util/uk/org/iscream/cms/util/QueueMonitor.java (file contents):
Revision 1.2 by tdb, Mon Feb 12 02:27:17 2001 UTC vs.
Revision 1.3 by tdb, Mon Feb 26 00:36:10 2001 UTC

# Line 69 | Line 69 | class QueueMonitor extends Thread {
69      public void shutdown() {
70          // this will stop the main loop
71          _run = false;
72 +        // create some XML
73 +        String date = new Long(System.currentTimeMillis()/((long) 1000)).toString();
74 +        String xml = "<packet type=\"queueStat\" date=\""+date+"\" name=\""+_srcName+"\" shutdown=\"true\"></packet>";
75 +        // write XML to destination Queue
76 +        _destQueue.add(xml);
77      }
78      
79      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines