A signal listener that can be registered with the API SignalService to catch API Signal thrown by any Process
public interface SignalListener
{
/**
* Returns true if the listener accepts a given signal
*/
boolean acceptSignal(Signal signal);
/**
* Catch a previously accepted signal
*/
void catchSignal(Signal signal);
}
Comments