net.sf.xbus.technical.file
Class FileByteArrayListReceiverThread

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

public class FileByteArrayListReceiverThread
extends FileReceiverThread

The FileByteArrayListReceiverThread 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
FileByteArrayListReceiverThread(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 FileByteArrayListReceiver 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

FileByteArrayListReceiverThread

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

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