    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.

##

applet
  True if the AgentContext was created by an Applet.
gui
  Should a gui be created for this Agent?
init_url
  URL for the initialization file.
name
  Name for the Agent.
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.
shared_url
  URL for shared classes and files.
working_dir
  Directory for local access to shared classes.

##

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

##

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.

shared_url

     public URL shared_url

  URL for shared classes and files. This URL must have the http protocol.

working_dir

     public File working_dir

  Directory for local access to shared classes.

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.

name

     public String name

  Name for the Agent. The name must be unique among all Agents administered by a single ANS.

gui

     public boolean gui

  Should a gui be created for this Agent?

applet

     public boolean applet

  True if the AgentContext was created by an Applet.

##

RuntimeParams

     public RuntimeParams()

  Constructor for use with applets

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