Class MatchedHandler<P,​V,​E extends PatternExtractor<P,​? super V>>

java.lang.Object
se.sics.kompics.MatchedHandler<P,​V,​E>
Type Parameters:
P - The type of the pattern to match against
V - The type of the content value
E - The type of context event
Direct Known Subclasses:
ClassMatchedHandler

public abstract class MatchedHandler<P,​V,​E extends PatternExtractor<P,​? super V>>
extends Object
Base class for matching handlers, which use an extracted value to "pattern match" against. A pattern matching handler separates an incoming event into a context and a content part. It passes them separately to the handle(Object, PatternExtractor) method.
Author:
Lars Kroll <[email protected]>