Class JavaAgent.context.RuntimeParams
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaAgent.context.RuntimeParams

java.lang.Object
   |
   +----JavaAgent.context.RuntimeParams

public class RuntimeParams
extends Object
Holds runtime parameters which govern the execution of an Agent and its context. Additional parameters are contained in the ContextParams and AgentParams classes. The fields of this class must be filled from either commandline args or applet parameters.


Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.



Variable Index

 o applet
True if the AgentContext was created by an Applet.
 o gui
Should a gui be created for this Agent?
 o init_url
URL for the initialization file.
 o name
Name for the Agent.
 o shared_dir
Directory for storing working files in the local file system, will be null if the Agent is unable to write to the local file system.
 o shared_url
URL for shared classes and files.
 o working_dir
Directory for local access to shared classes.

Constructor Index

 o RuntimeParams()
Constructor for use with applets
 o RuntimeParams(Hashtable)
Constructor the RuntimeParams object.

Variables

 o init_url
  public URL init_url
URL for the initialization file. This file will contain a set of KQML messages which initialize the state of the Agent. One of these messages must contain the address for the ANS.
 o shared_url
  public URL shared_url
URL for shared classes and files. This URL must have the http protocol.
 o working_dir
  public File working_dir
Directory for local access to shared classes.
 o shared_dir
  public File shared_dir
Directory for storing working files in the local file system, will be null if the Agent is unable to write to the local file system.
 o name
  public String name
Name for the Agent. The name must be unique among all Agents administered by a single ANS.
 o gui
  public boolean gui
Should a gui be created for this Agent?
 o applet
  public boolean applet
True if the AgentContext was created by an Applet.

Constructors

 o RuntimeParams
  public RuntimeParams()
Constructor for use with applets
 o RuntimeParams
  public RuntimeParams(Hashtable args)
Constructor the RuntimeParams object. Takes a Hashtable containing parameter values as input.

All Packages  Class Hierarchy  This Package  Previous  Next  Index