Package org.citydb.event.global
Class CounterEvent
- java.lang.Object
-
- org.citydb.event.Event
-
- org.citydb.event.global.CounterEvent
-
public class CounterEvent extends Event
-
-
Field Summary
-
Fields inherited from class org.citydb.event.Event
GLOBAL_CHANNEL
-
-
Constructor Summary
Constructors Constructor Description CounterEvent(CounterType type, long counter, java.lang.Object source)
CounterEvent(CounterType type, long counter, java.lang.Object channel, java.lang.Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCounter()
CounterType
getType()
-
Methods inherited from class org.citydb.event.Event
getChannel, getEventType, getSource, isCancelled, setCancelled
-
-
-
-
Constructor Detail
-
CounterEvent
public CounterEvent(CounterType type, long counter, java.lang.Object channel, java.lang.Object source)
-
CounterEvent
public CounterEvent(CounterType type, long counter, java.lang.Object source)
-
-
Method Detail
-
getCounter
public long getCounter()
-
getType
public CounterType getType()
-
-