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) { |
77 |
|
_logger.write(toString(), Logger.SYSMSG, "Shutting Down"); |
78 |
|
// remove ourselves from the queue |
79 |
|
_queue.removeQueue(_queueID); |
80 |
+ |
_queue.stopMonitor(); |
81 |
|
} |
82 |
|
|
83 |
|
/** |