nl.tudelft.simulation.event
Interface EventInterface

All Superinterfaces:
Serializable
All Known Implementing Classes:
Event, TimedEvent

public interface EventInterface
extends Serializable

The EventInterface defines the interface for all events in the event project.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/event
License of use: Lesser General Public License (LGPL) , no warranty

Since:
1.0
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:24:35 $
Author:
Peter Jacobs

Method Summary
 Object getContent()
          returns the content of this event.
 Object getSource()
          returns the source of the event.
 EventType getType()
          returns the type of the event.
 

Method Detail

getSource

Object getSource()
returns the source of the event. The source is the sender of the event

Returns:
the source of the event

getContent

Object getContent()
returns the content of this event.

Returns:
the content of this event

getType

EventType getType()
returns the type of the event.

Returns:
the eventType of the event


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.