Thanks for Tom's and your lucid explanation.

Regards,
Alan

On Jun 18, 2010, at 11:52 AM, BJ Hargrave wrote:

> For a given EventHandler, the posted events will be received in the order 
> they are received by postEvent. The sent event will generally be received in 
> the order they are sent but no delivery ordering guarantees can be made. The 
> sent events will be synchronously delivered and the posted events will be 
> delivered asynchronously. So the receiver could receive a posted event after 
> a sent event which was sent after the posted event. 
> --
> BJ Hargrave
> Senior Technical Staff Member, IBM
> OSGi Fellow and CTO of the OSGi Alliance
> [email protected]   
> 
> office: +1 386 848 1781
> mobile: +1 386 848 3788
> 
> 
> 
> 
> 
> 
> From:        "Alan D. Cabrera" <[email protected]> 
> To:        OSGi Developer Mail List <[email protected]> 
> Date:        2010/06/18 14:04 
> Subject:        Re: [osgi-dev] Event ordering in EventAdmin 
> Sent by:        [email protected] 
> 
> 
> 
> A thread alternatively calls send and post.  Is there an expected ordering 
> for all those events sent by that thread? 
> 
> 
> Regards, 
> Alan 
> 
> On Jun 18, 2010, at 10:29 AM, BJ Hargrave wrote: 
> 
> See 113.7.3. 
> 
> The delivery ordering of sent events cannot be specified since they are 
> synchronously delivered. 
> 
> The delivery ordering of posted events is specified. They are delivered in 
> the order in which they are received by postEvent. 
> 
> --
> BJ Hargrave
> Senior Technical Staff Member, IBM
> OSGi Fellow and CTO of the OSGi Alliance
> [email protected]   
> 
> office: +1 386 848 1781
> mobile: +1 386 848 3788
> 
> 
> 
> 
> 
> 
> 
> From:        "Alan D. Cabrera" <[email protected]> 
> To:        OSGi Developer Mail List <[email protected]> 
> Date:        2010/06/18 13:18 
> Subject:        [osgi-dev] Event ordering in EventAdmin 
> Sent by:        [email protected]
> 
> 
> 
> 
> 
> Is there any ordering restrictions between events sent via send and post?
> 
> 
> Regards,
> Alan
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to