All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.system.EASListener Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package org.ocap.system;

import java.util.EventListener;

/**
 * This interface represents a listener that will receive EAS events.
 */
public interface EASListener extends EventListener
{

    /**
     * Warns an application that an EAS message has been received and parsed and
     * resources will soon be allocated to it.  The application can get the reason
     * for the event from the event parameter.
     * 
     * @param event EAS event received.
     */
    public void warn(EASEvent event);

    /**
     * Notifies an application that an EAS message has started, is in-progress,
     * or has completed.  The application can get the reason for the event from
     * the event parameter.
     * 
     * @param event EAS event received.
     */
    public void notify(EASEvent event);
    

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy