ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/server/Queue/QueueMonitor.java
(Generate patch)

Comparing experimental/server/Queue/QueueMonitor.java (file contents):
Revision 1.1 by tdb, Mon Feb 12 02:27:56 2001 UTC vs.
Revision 1.2 by tdb, Mon Feb 26 01:05:16 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