com.deltax.util.listener
Class TrackingListener

java.lang.Object
  extended bycom.deltax.util.listener.TrackingListener
All Implemented Interfaces:
Listener

public class TrackingListener
extends java.lang.Object
implements Listener

A listener whick tracks the received signals.

Version:
1.0
Author:
Cristiano Sadun

Constructor Summary
TrackingListener()
           
 
Method Summary
 int count(java.lang.Class signalClass)
           
 void receive(Signal signal)
          Invoked when a signal is received.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrackingListener

public TrackingListener()
Method Detail

receive

public void receive(Signal signal)
Description copied from interface: Listener
Invoked when a signal is received.

Specified by:
receive in interface Listener
Parameters:
signal - the received signal.

count

public int count(java.lang.Class signalClass)

toString

public java.lang.String toString()