|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.architecture.Monitor
public class Monitor
The class allows to control the state of an agent (executing, suspended).
| 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 |
|---|
public Monitor()
| Method Detail |
|---|
public void waiting()
public void waiting(long timeout)
timeout - Time of wait.public void advise()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||