org.gscg.experiment.scenario
Class Event
java.lang.Object
org.gscg.experiment.scenario.Event
- All Implemented Interfaces:
- java.io.Serializable
- public class Event
- extends java.lang.Object
- implements java.io.Serializable
An event of a scenario.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology. *
- Since:
- 1.0.0
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:34:01 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Constructor Summary |
Event(java.lang.Object targetObject,
long startTime,
java.lang.String methodName,
java.lang.Object[] args)
constructs a new Event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Event
public Event(java.lang.Object targetObject,
long startTime,
java.lang.String methodName,
java.lang.Object[] args)
- constructs a new Event
- Parameters:
startTime
- the start time for the eventtargetObject
- the target object of the eventmethodName
- the name of the method to invokeargs
- the arguments for the method to invoke
getArgs
public java.lang.Object[] getArgs()
- Returns:
- Returns the arguments.
getMethodName
public java.lang.String getMethodName()
- Returns:
- Returns the method name.
getStartTime
public long getStartTime()
- Returns:
- Returns the start time.
getTargetObject
public java.lang.Object getTargetObject()
- Returns:
- Returns the target object.
toString
public java.lang.String toString()
- See Also:
Object.toString()
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.