JACK 5.4 Application Interface

aos.jack.util.thread
Class Monitor

java.lang.Object
  extended byaos.jack.util.thread.Monitor
All Implemented Interfaces:
java.util.Observer

public class Monitor
extends java.lang.Object
implements java.util.Observer

Monitor is a class for allowing event handling to be monitored via a primary task junction. The Monitor class works with the TaskMonitoring interface. They support task execution reflection so that an agent can know whether it is busy or idle with respect to monitored events.


Constructor Summary
Monitor(Event e)
           
Monitor(Event e, Agent a, java.lang.String tj)
           
Monitor(Event e, java.lang.String tj)
           
Monitor(Event e, TaskJunction tj)
           
 
Method Summary
 void attach(TaskJunction tj)
           
 void update(java.util.Observable ignored, java.lang.Object d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

public Monitor(Event e,
               java.lang.String tj)

Monitor

public Monitor(Event e,
               Agent a,
               java.lang.String tj)

Monitor

public Monitor(Event e,
               TaskJunction tj)

Monitor

public Monitor(Event e)
Method Detail

attach

public void attach(TaskJunction tj)

update

public void update(java.util.Observable ignored,
                   java.lang.Object d)
Specified by:
update in interface java.util.Observer

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088