public final class SignalCounter extends Object implements IListener
Constructor and Description |
---|
SignalCounter() |
SignalCounter(ISignalProtocol<?> protocol) |
Modifier and Type | Method and Description |
---|---|
void |
clearCounts() |
int |
getCountFor(Class<? extends Signal> signal) |
int |
getCountForSignalTypes()
Get the number of different signal counted.
|
void |
notifyEvent(IEvent event) |
public SignalCounter()
public SignalCounter(ISignalProtocol<?> protocol)
public int getCountForSignalTypes()
public void clearCounts()
public void notifyEvent(IEvent event)
notifyEvent
in interface IListener
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.