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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaDataHandler.java (file contents):
Revision 1.2 by tdb, Mon Feb 5 02:54:03 2001 UTC vs.
Revision 1.4 by tdb, Mon Feb 26 00:18:41 2001 UTC

# Line 57 | Line 57 | class CorbaDataHandler extends Thread {
57                  // if it's not null (which could happen if we're "released")
58                  // send it on to the client that we're connected to.
59                  if(xml != null) {
60 <                    // !!! SOME CHECKS REQUIRED HERE !!!
61 <                    _client.receiveXML(xml);
60 >                    try {
61 >                        _client.receiveXML(xml);
62 >                    }
63 >                    catch (org.omg.CORBA.COMM_FAILURE e) {
64 >                        // lets stop sending, the client has quit
65 >                        run = false;
66 >                        _logger.write(toString(), Logger.ERROR, "Connection failure, client shutdown? : "+e);
67 >                    }
68                  }
69              }
70              catch(InvalidQueueException e) {
# Line 71 | Line 77 | class CorbaDataHandler extends Thread {
77          _logger.write(toString(), Logger.SYSMSG, "Shutting Down");
78          // remove ourselves from the queue
79          _queue.removeQueue(_queueID);
80 +        _queue.stopMonitor();
81      }
82      
83      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines