From: Silvio A. <sar...@mo...> - 2001-08-21 16:08:40
|
Hello everybody, I have quite a weird problem and I don't know how to solve it. I'm using Jython to test the Java API of a CORBA platform. Some commands of this API are quite slow and they are run in background. Once they are terminated, the API returns the result of the operation passing a report to a callback object of the calling application. I tried implementing it in Jython: I defined a new Jython class that implements the callback interface, I registered it to get reports from the API, and then I called the API function...all working, except that my script then waits forever to be waken up by the ReportReceiver. I fancy that this is probably due to the fact that the API calls my callback object in a new JVM thread, that is maybe independent from the Jython interpreter...am I right? how can I make it work? bye, Silvio. |