net.sf.basedb.core.signal
Class SimpleSignalSender
java.lang.Object
net.sf.basedb.core.signal.SimpleSignalSender
- All Implemented Interfaces:
- SignalSender
public class SimpleSignalSender
- extends Object
- implements SignalSender
A signal sender implementation that sends a specific signal
to all handlers that supports it.
- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2010-09-02 14:09:15 +0200 (Thu, 02 Sep 2010) $
signal
private final Signal signal
SimpleSignalSender
public SimpleSignalSender(Signal signal)
- Create a new signal sender.
- Parameters:
signal
- The signal to send
sendTo
public void sendTo(SignalHandler handler)
- Description copied from interface:
SignalSender
- Send a signal to the specific signal handler.
- Specified by:
sendTo
in interface SignalSender
- Parameters:
handler
- A signal handler
toString
public String toString()
- Overrides:
toString
in class Object