JACK 5.4 Application Interface

aos.jack.sim.time
Class TimeDispatcher

java.lang.Object
  extended byaos.jack.jak.scheduler.Executee
      extended byaos.jack.jak.agent.Agent
          extended byaos.jack.sim.run.SimAgent
              extended byaos.jack.sim.time.TimeDispatcher

public class TimeDispatcher
extends SimAgent


Field Summary
 
Fields inherited from class aos.jack.sim.run.SimAgent
readyAtStart, stopAtEnd
 
Fields inherited from class aos.jack.jak.agent.Agent
thread_pool, timer
 
Constructor Summary
TimeDispatcher(java.lang.String name)
           
 
Method Summary
 void __bindNames()
           
 void __init1()
          Support for agent constructor methods.
 void __init2()
          Support for agent constructor methods.
 java.lang.Class getAgentType()
           
 java.lang.String getDocumentation()
           
static Cursor hold()
           
 void init_desc()
           
 void initialize(InitialData d)
          A convenience hook for agent initialisation.
 java.lang.String portal(java.lang.String name)
           
static void release()
           
 void setEnabled(boolean t)
           
static void stopSimulation()
           
static boolean wasHeld()
           
 
Methods inherited from class aos.jack.sim.run.SimAgent
isReadyAtStart, isStopAtEnd, setReadyAtStart, setStopAtEnd
 
Methods inherited from class aos.jack.jak.agent.Agent
addToDo, addWaitFor, addWaitFor, bug, changeFocus, describeAllAgents, describeState, discardAllTasks, discardOtherTasks, discardReplies, dump, dump, dump, dumpPlans, dumpToString, findLocalAgent, finish, getAgent, getBasename, getCurrentAgent, getCurrentTask, getKnownEvents, getKnownPlans, getName, getObservable, getReply, getTaskManager, getTraceableInfo, inAgent, isBlocked, isIdle, name, nEvents, nMessages, nTasks, nTodo, postEvent, postEventAndWait, process, processEvent, processMessage, processTask, processToDo, replied, reply, restartIfIdle, rmToDo, rmWaitFor, send, send, startAgent, toString, trigger, warning
 
Methods inherited from class aos.jack.jak.scheduler.Executee
isPaused, remove, run, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeDispatcher

public TimeDispatcher(java.lang.String name)
Method Detail

portal

public java.lang.String portal(java.lang.String name)

initialize

public void initialize(InitialData d)
Description copied from class: Agent
A convenience hook for agent initialisation. Apart from the call made by aos.jack.Kernel.createAgent, this method is not used by JACK, but provided as generic support for agent initialisation.

Overrides:
initialize in class Agent

hold

public static Cursor hold()

stopSimulation

public static void stopSimulation()

release

public static void release()

wasHeld

public static boolean wasHeld()

getDocumentation

public java.lang.String getDocumentation()

getAgentType

public java.lang.Class getAgentType()

__init1

public void __init1()
Description copied from class: Agent
Support for agent constructor methods. Can be called by a derived type during their construction to do first phase initialization (events, data, etc.).

Overrides:
__init1 in class Agent

__init2

public void __init2()
Description copied from class: Agent
Support for agent constructor methods. Can be called by a derived type during their construction to do second phase initialization (plans).

Overrides:
__init2 in class Agent

init_desc

public void init_desc()

__bindNames

public void __bindNames()

setEnabled

public void setEnabled(boolean t)

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