net.sf.xbus.technical.file
Class FileStreamReceiverThread

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.FileStreamReceiverThread
All Implemented Interfaces:
java.lang.Runnable, Receiver

public class FileStreamReceiverThread
extends FileReceiverThread

The FileStreamReceiverThread 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
FileStreamReceiverThread(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 FileStreamReceiver 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

FileStreamReceiverThread

public FileStreamReceiverThread(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 FileStreamReceiver used to read from a file.

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