com.deltax.util.listener
Class HistoryListener

java.lang.Object
  extended bycom.deltax.util.listener.SimpleListener
      extended bycom.deltax.util.listener.BridgeListener
          extended bycom.deltax.util.listener.HistoryListener
All Implemented Interfaces:
Listener

public class HistoryListener
extends BridgeListener

A listener which logs an history of received signals to a file.

Version:
1.0
Author:
Cristiano Sadun

Constructor Summary
HistoryListener(java.lang.String path, Listener listener)
          Create a listener attached to the given path.
 
Method Summary
 java.lang.String getFilename()
           
 
Methods inherited from class com.deltax.util.listener.BridgeListener
receive
 
Methods inherited from class com.deltax.util.listener.SimpleListener
close, flush, isAutoFlushing, setAutoFlushing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryListener

public HistoryListener(java.lang.String path,
                       Listener listener)
                throws java.io.IOException
Create a listener attached to the given path.

Parameters:
listener -
Throws:
java.io.IOException
Method Detail

getFilename

public java.lang.String getFilename()