SignalMgrIF.trigger
"Jean Morissette" <[email protected]> Wed, 01 Dec 2004 19:03:32 -0500
| Newsgroups | gmane.comp.java.seda.user |
|---|---|
| Message-ID | <[email protected]> |
<html><div style='background-color:'><P>Hi, <BR>I have changed SignalMgr so that sinks are now registered with the chain of superclasses for each signal, Thus, triggering a superclass of a given signal will also reach those sinks registered for the subclass.</P> <P><BR>Also, we should add a method SignalMgrIF.trigger(SignalIF s) to provide a mean for users (EventHandler implementations) to communicate. But I think that users must not be able to trigger internal signal. To achieve that, we could:</P> <P> - create a UserSignalIF that extends SignalIF<BR> - add method SignalMgrIF.trigger(UserSignalIF s)<BR> - create a SignalMgrWrapperIF in package api.internal</P> <P>SignalMgrWrapperIF will be for internal use only. Internal signals will be triggered by SignalMgrWrapperIF.trigger(SignalIF). The user will only use SignalMgrIF.</P> <P>Comments?</P> <P>Jean M</P> <DIV class=RTE></DIV></div></html> ------------------------------------------------------- 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/