event handling synchronization

Andreas Unterkircher <[email protected]>
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
I'm using EventPrim's handleEvent method to receive/handle events. Now I 
want this to be synchronized, i.e. I receive many events at the same time 
but I want to have them treated one after the other. My first naive 
attempt to get this was to declare my own "public void synchronized 
myEventHandler" method which gets called by "public void handleEvent" but 
this did not help, i.e. the events get handled concurrently (better: 
interleaved ?). Now I'm thinking of implementing my own work queue. Before 
doing this I'd like to ask if SmartFrog already has some built in support 
for the above problem ? Maybe I'm just missing something ?

Thanks,
Andreas



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.