Package gg.xp.reevent.events
Class AutoEventDistributor
java.lang.Object
gg.xp.reevent.events.BasicEventDistributor
gg.xp.reevent.events.AutoEventDistributor
- All Implemented Interfaces:
EventDistributor
,TopologyProvider
-
Field Summary
Fields inherited from class gg.xp.reevent.events.BasicEventDistributor
handlers
-
Constructor Summary
ConstructorDescriptionAutoEventDistributor
(StateStore state, AutoHandlerScan scanner, TopologyInfo topoInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptEvent
(Event event) protected List<EventHandler<Event>>
getHandlersForEvent
(Event event) void
reload()
protected void
Methods inherited from class gg.xp.reevent.events.BasicEventDistributor
getStateStore, getTimeStats, isProfilingEnabled, registerHandler, setProfilingEnabled, setQueue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.EventDistributor
registerHandler
-
Constructor Details
-
AutoEventDistributor
-
-
Method Details
-
reload
public void reload() -
sortHandlers
protected void sortHandlers()- Overrides:
sortHandlers
in classBasicEventDistributor
-
getHandlersForEvent
- Overrides:
getHandlersForEvent
in classBasicEventDistributor
-
getTopology
- Specified by:
getTopology
in interfaceTopologyProvider
-
acceptEvent
- Specified by:
acceptEvent
in interfaceEventDistributor
- Overrides:
acceptEvent
in classBasicEventDistributor
-