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: 2010-10-15 13:59:00 +0200 (Fri, 15 Oct 2010) $
Field Summary |
private static Logger |
logger
Log signals processing. |
Method Summary |
void |
send(Signal signal)
Connect to the remote host and send the signal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Logger logger
- Log signals processing.
SocketSignalTransporter
public SocketSignalTransporter()
- Create a new socket signal transporter. Before it can be used it must
be initialised with
AbstractSignalTransporter.init(String)
.
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