| java.lang.Object seda.sandStorm.internal.SignalMgr
SignalMgr | class SignalMgr implements SignalMgrIF(Code) | | The SignalMgr is an implementation of SignalMgrIF. It allows stages
to register to receive certain signals and delivers those signals once
they are triggered.
author: Matt Welsh See Also: SignalMgrIF See Also: SignalIF |
deregister | public void deregister(SignalIF signalType, SinkIF sink)(Code) | | Deregister for the given signal type.
|
register | public void register(SignalIF signalType, SinkIF sink)(Code) | | Register for the given signal type. When the signal is triggered,
an object of the given type (although not necessarily the same
object instance) will be delivered to the given SinkIF.
|
trigger | public void trigger(SignalIF signal)(Code) | | Send the given signal to all registered sinks. Uses enqueue_lossy
on each sink, so if a sink rejects the signal this method will
continue regardless. Package access only.
XXX MDW: Really should register sinks with the chain of superclasses
for each signal as well, so that triggering a superclass of a given
signal will also reach those sinks registered for the subclass.
|
|
|