Package gg.xp.xivsupport.events
Class TestEventContext
java.lang.Object
gg.xp.xivsupport.events.TestEventContext
- All Implemented Interfaces:
EventContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Accept an event for immediate processingvoid
Accept an event for processing as a normal queue eventReturn an object conveying state information
-
Constructor Details
-
TestEventContext
public TestEventContext()
-
-
Method Details
-
accept
Description copied from interface:EventContext
Accept an event for immediate processing- Specified by:
accept
in interfaceEventContext
- Parameters:
event
- The event
-
enqueue
Description copied from interface:EventContext
Accept an event for processing as a normal queue event- Specified by:
enqueue
in interfaceEventContext
- Parameters:
event
- The event
-
getStateInfo
Description copied from interface:EventContext
Return an object conveying state informationThe expectation is that this would be a map of classes to instances of them, so that, e.g. anything related to a particular implementation can just attach it here, rather than having to plumb more generics through the entire system.
- Specified by:
getStateInfo
in interfaceEventContext
- Returns:
- the state store
-
getAccepted
-
getEnqueued
-