package nl.tudelft.simulation.event; import java.io.Serializable; /** * The EventInterface defines the interface for all events in the DSOL project. *

* (c) copyright 2002-2014 Delft University of Technology.
* BSD-style license. See DSOL License.
* @author Peter Jacobs * @author Alexander Verbraeck * @since 1.5 */ public interface EventInterface extends Serializable { /** * returns the source of the event. The source is the sender of the event * @return the source of the event */ Object getSource(); /** * returns the content of this event. * @return the content of this event */ Object getContent(); /** * returns the type of the event. * @return the eventType of the event */ EventType getType(); }