|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimEventInterface
A SimEventInterface embodies the envolope in the scheduled method invocation information is stored.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
static short |
MAX_PRIORITY
MAX_PRIORITY is a constant reflecting the maximum priority |
static short |
MIN_PRIORITY
MIN_PRIORITY is a constant reflecting the minimal priority |
static short |
NORMAL_PRIORITY
NORMAL_PRIORITY is a constant reflecting the normal priority |
Method Summary | |
---|---|
void |
execute()
executes the simEvent. |
double |
getAbsoluteExecutionTime()
|
long |
getID()
sets the id of an event. |
short |
getPriority()
|
void |
setID(long id)
sets the id of an event. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final short MAX_PRIORITY
static final short NORMAL_PRIORITY
static final short MIN_PRIORITY
Method Detail |
---|
void execute() throws SimRuntimeException
SimRuntimeException
- on execution failuredouble getAbsoluteExecutionTime()
short getPriority()
long getID()
void setID(long id)
id
- the id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |