Package gg.xp.xivsupport.events
Class TestEventContext
java.lang.Object
gg.xp.xivsupport.events.TestEventContext
- All Implemented Interfaces:
EventContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAccept an event for immediate processingvoidAccept 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:EventContextAccept an event for immediate processing- Specified by:
acceptin interfaceEventContext- Parameters:
event- The event
-
enqueue
Description copied from interface:EventContextAccept an event for processing as a normal queue event- Specified by:
enqueuein interfaceEventContext- Parameters:
event- The event
-
getStateInfo
Description copied from interface:EventContextReturn 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:
getStateInfoin interfaceEventContext- Returns:
- the state store
-
getAccepted
-
getEnqueued
-