psimjava
Class Suspend

java.lang.Object
  extended by psimjava.Suspend

public class Suspend
extends java.lang.Object

Internal class in PsimJ.

Object-oriented simulation package, process interaction approach. (C) Jose M. Garrido, June 2000, August 2003, 2004, 2007

This class uses Java's wait/notify mechanism.


Constructor Summary
Suspend()
           
 
Method Summary
 boolean get_flag()
           
 void proceed()
           
 void set_flag(boolean sflag)
           
 void suswait()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Suspend

public Suspend()
Method Detail

set_flag

public void set_flag(boolean sflag)

get_flag

public boolean get_flag()

suswait

public void suswait()
             throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

proceed

public void proceed()