Package com.fluxtion.ext.streaming.api
Class GenericEventHandler<T extends com.fluxtion.api.event.GenericEvent<W>,W>
java.lang.Object
com.fluxtion.ext.streaming.api.GenericEventHandler<T,W>
- All Implemented Interfaces:
com.fluxtion.api.FilteredEventHandler<T>
public final class GenericEventHandler<T extends com.fluxtion.api.event.GenericEvent<W>,W>
extends java.lang.Object
implements com.fluxtion.api.FilteredEventHandler<T>
EventHandler forGenericEvent
's. GeneriEvents can wrap any type of Object, thus allowing non-fluxtionEvent
's to be handled as an entry point in a SEP.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GenericEventHandler()
-
Method Summary
Modifier and Type Method Description W
event()
java.lang.Class<T>
eventClass()
int
filterId()
java.lang.String
filterString()
void
onEvent(T e)
-
Field Details
-
Constructor Details
-
GenericEventHandler
public GenericEventHandler()
-
-
Method Details
-
filterId
public int filterId() -
filterString
public java.lang.String filterString() -
onEvent
-
eventClass
-
event
-