    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JavaAgent.agent.AgentParams

    java.lang.Object
       |
       +----JavaAgent.agent.AgentParams

public class AgentParams
extends Object

Static class which defines constant parameters for classes in the JavaAgent.agent and JavaAgent.resource packages. Some of these parameters serve as default values which may be optionally overridden using commandline/applet parameters.

Parameters which need to be bound during compilation (i.e. inlined into the byte code) (e.g. booleans which control conditionally compiled code blocks) need to be declared static final, those which need to be dynamically bound must be declared with only the static modifier. Most params will fall in the later category. Note: compilation binding requires the recompilation of all affected classes.

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.

##

APPEND
  If the file exists, append the remote file onto the local file.
DEBUG
  Should detailed systems messages be printed?
FILE_EXISTS_ACTION
  Should existing files be left, overwritten or appended to when performing a remote copy?
LEAVE
  If the file already exists, don't modify it.
MESSAGE_STORAGE
  Max size of the messages_in and messages_out buffers.
OVERWRITE
  If the file exists, replace it with the remote file.
RECEIVE_TIMEOUT
  Timeout value for receiving a message, in milliseconds.
RETRIEVAL_NOTIFIES
  Max number of notifies to wait through for resource retrieval.
RETRIEVAL_WAIT
  Resource retrieval max wait.
SEND_TIMEOUT
  Timeout value for sending a message, in milliseconds.
TEST
  If true, all conditionally enclosed code blocks will be compiled and executed during interpretation.

##

AgentParams()

##

TEST

     public static final boolean TEST

  If true, all conditionally enclosed code blocks will be compiled and executed during interpretation. If false, these blocks will be ignored by the compiler. All effected classes must be recompiled for this change to take place.

DEBUG

     public static boolean DEBUG

  Should detailed systems messages be printed?

MESSAGE_STORAGE

     protected static int MESSAGE_STORAGE

  Max size of the messages_in and messages_out buffers.

SEND_TIMEOUT

     protected static int SEND_TIMEOUT

  Timeout value for sending a message, in milliseconds.

RECEIVE_TIMEOUT

     protected static int RECEIVE_TIMEOUT

  Timeout value for receiving a message, in milliseconds.

LEAVE

     public static final char LEAVE

  If the file already exists, don't modify it.

OVERWRITE

     public static final char OVERWRITE

  If the file exists, replace it with the remote file.

APPEND

     public static final char APPEND

  If the file exists, append the remote file onto the local file.

FILE_EXISTS_ACTION

     public static int FILE_EXISTS_ACTION

  Should existing files be left, overwritten or appended to when performing a remote copy?

RETRIEVAL_WAIT

     public static long RETRIEVAL_WAIT

  Resource retrieval max wait.

RETRIEVAL_NOTIFIES

     public static int RETRIEVAL_NOTIFIES

  Max number of notifies to wait through for resource retrieval.

##

AgentParams

     public AgentParams()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index