net.sf.xbus.technical.file
Class FileLineReaderReceiverThread

java.lang.Object
  extended by net.sf.xbus.technical.ReceiverThreadBase
      extended by net.sf.xbus.technical.file.FileReceiverThread
          extended by net.sf.xbus.technical.file.FileLineReaderReceiverThread
All Implemented Interfaces:
java.lang.Runnable, Receiver

public class FileLineReaderReceiverThread
extends FileReceiverThread

The FileLineReaderReceiverThread runs in the background and receives data from files when they exist.


Field Summary
 
Fields inherited from class net.sf.xbus.technical.ReceiverThreadBase
DEFAULT_ERROR_TIMEOUT, DEFAULT_TIMEOUT
 
Constructor Summary
FileLineReaderReceiverThread(XBUSSystem source)
          The constructor stores the name of the system, which is processed by this thread.
 
Method Summary
protected  FileReceiver createReceiver()
          Creates an instance of FileLineReaderReceiver used to read from a file.
 
Methods inherited from class net.sf.xbus.technical.file.FileReceiverThread
getAddress, getReceiverClassName, getType, initializeThread, receive, registerResources, run
 
Methods inherited from class net.sf.xbus.technical.ReceiverThreadBase
checkProceed, getErrorTimeout, getSource, getTimeout, incrementErrorCounter, initializeErrorCounter, interruptThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLineReaderReceiverThread

public FileLineReaderReceiverThread(XBUSSystem source)
The constructor stores the name of the system, which is processed by this thread.

Method Detail

createReceiver

protected FileReceiver createReceiver()
Creates an instance of FileLineReaderReceiver used to read from a file.

Overrides:
createReceiver in class FileReceiverThread
Returns:
an instance of FileLineReaderReceiver