MatchedHandler
==============
.. java:package:: se.sics.kompics
:noindex:
.. java:type:: public abstract class MatchedHandler
>
:author: Lars Kroll
:param : The type of the pattern to match against
:param : The type of the content value
:param : The type of context event
Fields
------
cxtType
^^^^^^^
.. java:field:: Class cxtType
:outertype: MatchedHandler
Constructors
------------
MatchedHandler
^^^^^^^^^^^^^^
.. java:constructor:: protected MatchedHandler()
:outertype: MatchedHandler
MatchedHandler
^^^^^^^^^^^^^^
.. java:constructor:: protected MatchedHandler(Class cxtType)
:outertype: MatchedHandler
Methods
-------
getCxtType
^^^^^^^^^^
.. java:method:: public Class getCxtType()
:outertype: MatchedHandler
Gets the event type.
:return: the event type
handle
^^^^^^
.. java:method:: public abstract void handle(V content, E context)
:outertype: MatchedHandler
pattern
^^^^^^^
.. java:method:: public abstract P pattern()
:outertype: MatchedHandler
setCxtType
^^^^^^^^^^
.. java:method:: public void setCxtType(Class cxtType)
:outertype: MatchedHandler
Sets the event type.
:param eventType: the new event type