nl.tudelft.simulation.dsol.interpreter.process
Interface ProcessInterface

All Known Implementing Classes:
NestedProcess, Process, SubProcess

public interface ProcessInterface

Author:
peter TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static short DEAD
          the DEAD state of the process
static short EXECUTING
          the EXECUTING state of the process
static short INITIAL
          the INITIAL state of the process
static EventType STATE_CHANGE_EVENT
          state change events are fired whenever the state of a process changes.
static short SUSPENDED
          the SUSPENDED state of the process
 
Method Summary
 short getState()
          Returns the state of a process
 void process()
          processes the process
 void resume()
          resumes this process
 void suspend()
          suspends the process.
 

Field Detail

STATE_CHANGE_EVENT

static final EventType STATE_CHANGE_EVENT
state change events are fired whenever the state of a process changes.


INITIAL

static final short INITIAL
the INITIAL state of the process

See Also:
Constant Field Values

EXECUTING

static final short EXECUTING
the EXECUTING state of the process

See Also:
Constant Field Values

SUSPENDED

static final short SUSPENDED
the SUSPENDED state of the process

See Also:
Constant Field Values

DEAD

static final short DEAD
the DEAD state of the process

See Also:
Constant Field Values
Method Detail

process

void process()
processes the process


resume

void resume()
resumes this process


suspend

void suspend()
suspends the process.


getState

short getState()
Returns the state of a process

Returns:
the state of a process


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