[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] question about dispatch model

Hi Pikaiyuan,
the DeliveryWorker can be run as a Thread or invoked synchroneously.

pikaiyuan wrote:
> hi, Marcel and Michele
> Is the DeliveryWorker run as a Thread?
> Is is works only in asynchronous?
> (for private boolean isSyncMode = false; line66 in DeliveryManager.java
>  and there is no place to change value of isSyncMode.)

isSyncMode is changed by the methods switchToSyncMode and switchToAsyncMode

Under normal operation (that is when the callback communication to the
client is OK), the delivery manager works in sync mode, otherwise in
async mode.

> pikaiyuan
> pi_kyuan at cvicse.com
> 2003-09-16