Re: [eclipse-clp-users] Recommended way of stopping an embedded ECLiPSe programmatically?

From: Kish Shen <kisshen_at_...5...>
Date: Mon, 01 Mar 2010 16:45:59 +0000
Hi David,

david wrote:
> I use EmbeddedEclipse in Java with synchronous queues, and I would like 
> to be able to stop ECLiPSe from Java if certain terms are seen on the 
> out-queue. I could not find anything in the Javadoc for EmbeddedEclipse 
> about how this might be done.
> 

What do you mean by `stop ECLiPSe'? Do you mean stopping the program 
that is running on ECLiPSe, or quitting from ECLiPSe altogether?

If you want to quit the EmbeddedEclipse, you can call the destroy method
to terminate the ECLiPSe.

If you want to stop the program you are running, you can have a 
ToECLiPSe queue, on which you send a pre-agreed item to notify the
ECLiPSe program you want it to stop.

By the way, I think all of the above are independent of the type of 
ECLiPSe connection you have.

Cheers,

Kish
-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Mon Mar 01 2010 - 16:46:08 CET

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST