public class LocalSignalTransporter extends AbstractSignalTransporter
LocalSignalReceiver
.Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
logger
Log signals processing.
|
Constructor and Description |
---|
LocalSignalTransporter()
Create a new signal transporter instance.
|
Modifier and Type | Method and Description |
---|---|
void |
send(Signal signal)
Send the signal to a local signal receiver.
|
generateSignalMessage, getGlobalSignalId, getHandlerId, getReceiverId, getSignalURI, getSupportedSignals, init
public LocalSignalTransporter()
public void send(Signal signal)
LocalSignalReceiver.getSignalReceiver(String)
to find a registered
signal receiver and then call LocalSignalReceiver.send(String, Signal)
.
The signal is sent and processed by the signal handler in the current thread.signal
- The signal to send, must not be null