Hi Andreas,

Andreas Schlüns wrote:
Hi Giuseppe,

...

Seams to be a simple typo ...
The sentence should be:
"If both are available, the synchronous interface is preferred by
the job execution environment."

On the implementation side it's more easy than you think :-)
For you there exists two possibilities to implement a job:
a) the synchronous way using XJob or
b) the asynchronous way using XAsynchronousJob.
It depends from our use cases which interface should
be used/implemented and supported by your job implementation.

Sometimes it happened that a programmer decided to support BOTH interfaces at the same implementation. Dont ask me why ? :-)
So I've decided to implement a mechanism which preferres one interface
in such case - and thats the synchronous interface XJob.

I used the synchronous way, since I need to stop the thread when doing processing inside the Job.

Thanks for the explanations, I updated the DevGuide.

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
[EMAIL PROTECTED]
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to