Package net.sf.basedb.core.signal
Class SocketSignalTransporter
- java.lang.Object
-
- net.sf.basedb.core.signal.AbstractSignalTransporter
-
- net.sf.basedb.core.signal.SocketSignalTransporter
-
- All Implemented Interfaces:
SignalTransporter
public class SocketSignalTransporter extends AbstractSignalTransporter
- Version:
- 2.6
- Author:
- nicklas
- Last modified
- $Date: 2014-04-09 14:21:20 +0200 (on, 09 apr 2014) $
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Logger
logger
Log signals processing.
-
Constructor Summary
Constructors Constructor Description SocketSignalTransporter()
Create a new socket signal transporter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
send(Signal signal)
Connect to the remote host and send the signal.-
Methods inherited from class net.sf.basedb.core.signal.AbstractSignalTransporter
generateSignalMessage, getGlobalSignalId, getHandlerId, getReceiverId, getSignalURI, getSupportedSignals, init
-
-
-
-
Constructor Detail
-
SocketSignalTransporter
public SocketSignalTransporter()
Create a new socket signal transporter. Before it can be used it must be initialised withAbstractSignalTransporter.init(String)
.
-
-
Method Detail
-
send
public void send(Signal signal)
Connect to the remote host and send the signal.- Parameters:
signal
- The signal to send, must not be null
-
-