2.17.2: 2011-06-17

net.sf.basedb.core.signal
Class SocketSignalTransporter

java.lang.Object
  extended by net.sf.basedb.core.signal.AbstractSignalTransporter
      extended by 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.
 
Constructor Summary
SocketSignalTransporter()
          Create a new socket signal transporter.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logger logger
Log signals processing.

Constructor Detail

SocketSignalTransporter

public SocketSignalTransporter()
Create a new socket signal transporter. Before it can be used it must be initialised with AbstractSignalTransporter.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

2.17.2: 2011-06-17