es.upv.dsic.gti_ia.architecture
Class Monitor

java.lang.Object
  extended by es.upv.dsic.gti_ia.architecture.Monitor

public class Monitor
extends Object

The class allows to control the state of an agent (executing, suspended).

Version:
2009.9.07
Author:
Joan Bellver Faus

Constructor Summary
Monitor()
           
 
Method Summary
 void advise()
          reactivates the process
 void waiting()
          suspends the process
 void waiting(long timeout)
          suspends the process a time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

public Monitor()
Method Detail

waiting

public void waiting()
suspends the process


waiting

public void waiting(long timeout)
suspends the process a time

Parameters:
timeout - Time of wait.

advise

public void advise()
reactivates the process



Copyright © 2012 GTI-IA. All Rights Reserved.