org.eclipse.net4j.signal
Class SignalCounter

java.lang.Object
  extended by org.eclipse.net4j.signal.SignalCounter
All Implemented Interfaces:
EventListener, IListener

public final class SignalCounter
extends Object
implements IListener

Provides signal execution counts when attached to a signal protocol.

Since:
3.0

Constructor Summary
SignalCounter()
           
SignalCounter(ISignalProtocol<?> protocol)
           
 
Method Summary
 void clearCounts()
           
 int getCountFor(Class<? extends Signal> signal)
           
 void notifyEvent(IEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignalCounter

public SignalCounter()

SignalCounter

public SignalCounter(ISignalProtocol<?> protocol)
Since:
4.1
Method Detail

getCountFor

public int getCountFor(Class<? extends Signal> signal)

clearCounts

public void clearCounts()

notifyEvent

public void notifyEvent(IEvent event)
Specified by:
notifyEvent in interface IListener


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.