/**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com *
* ---------------------------------------------------------------------------------- *
* The software in this package is published under the terms of the GPL license *
* a copy of which has been included with this distribution in the license.txt file. *
**************************************************************************************/
package com.espertech.esper.filter;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.epl.expression.ExprEvaluatorContext;
import java.util.Collection;
/**
* Interface for matching an event instance based on the event's property values to
* filters, specifically filter parameter constants or ranges.
*/
public interface EventEvaluator
{
/**
* Perform the matching of an event based on the event property values,
* adding any callbacks for matches found to the matches list.
* @param theEvent is the event object wrapper to obtain event property values from
* @param matches accumulates the matching filter callbacks
*/
public void matchEvent(EventBean theEvent, Collection<FilterHandle> matches);
}