Files
Brainstorm/Foundation/src/com/foundation/event/IEventHandler.java
2014-05-30 10:31:51 -07:00

23 lines
1.1 KiB
Java

/*
* Copyright (c) 2002,2009 Declarative Engineering LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Declarative Engineering LLC
* verson 1 which accompanies this distribution, and is available at
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
*/
package com.foundation.event;
/**
* This interface defines a basic event handler that will allow an event handler to be passed remotely.
* <p>NOTE: This interface should never be used directly by an application.</p>
*/
public interface IEventHandler extends IHandler {
/**
* Does what ever the handler is programmed to do when called.
* @param eventEmitter The object that fired the event.
* @param eventNumber The unique (within the context of the defining class hierarchy) number of the event being fired. This allows one handler to register for multiple events.
* @param parameters The parameters passed to the handler when it is invoked.
* @param flags The event dependant flags.
*/
public abstract void evaluate(IEventEmitter eventEmitter, int eventNumber, Object[] eventParameters, int flags);
}//IEventHandler//