SignalMgr like an Interrupt Bus...

Jean Morissette <[email protected]> Sun, 26 Dec 2004 16:46:34 -0500
Newsgroups gmane.comp.java.seda.user
Message-ID <[email protected]>
I see the SignalMgr like an interrupt bus in CPU/OS.  Conceptually, a 
signal should be like an interrupt, that is, it should preempt all queue 
events and lower priority signals.  A signal should be enqueued 
unconditionally, so it must bypass load-conditioning policies like queue 
capacity.  We could have two kinds of signal: user and system.  A 
system-signal is when the source of the signal is Sandstorm.  So, 
handlers cannot send system-signal, only user-signal.  Signals should be 
handled by the EventHandler.handleEvent() method, like others kind of 
events.

By exemple, I would like to use this new SignalMgr to advertize all 
handlers that Sandstorm is shutting down.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/