Re: SignalMgr like an Interrupt Bus...
Jean Morissette <[email protected]> Sun, 16 Jan 2005 17:26:23 -0500
| Newsgroups | gmane.comp.java.seda.user |
|---|---|
| Message-ID | <[email protected]> |
Or do you prefer:
void register(SignalIF signalType, String stagename);
void deregister(SignalIF signalType, String stagename);
?
But, these methods allow a handler to register a signal to another
handler; I don't know if it's a good idea?
Jean Morissette wrote:
> To implement this feature, I suggest to add these methods to the
> SignalMgr API:
>
> public interface SignalMgrIF {
>
> void register(SignalIF signalType, EventHandlerIF handler);
>
> void deregister(SignalIF signalType, EventHandlerIF handler);
>
> void fire(SignalIF signal);
>
> }
>
> Any objection?
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt