Class FDATI.FDATContext
All Packages Class Hierarchy This Package Previous Next Index
Class FDATI.FDATContext
java.lang.Object
|
+----JavaAgent.context.AgentContext
|
+----JavaAgent.context.SocketContext
|
+----FDATI.FDATContext
- public class FDATContext
- extends SocketContext
Subclass of SocketContext which provides a context for a FDATAgent.
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.
-
FDATContext(FDATParams)
- FDATContext constructor.
-
addAgent()
- Creates the FDATAgent object.
-
createGUI()
- If the gui flag is set, creates an RSFrame object.
-
main(String[])
- Called if the FDATContext is started as an application from the command
line.
-
resourceChanged(String)
- Called when some Agent resource has changed.
FDATContext
public FDATContext(FDATParams params)
- FDATContext constructor.
createGUI
protected void createGUI()
- If the gui flag is set, creates an RSFrame object.
- Overrides:
- createGUI in class AgentContext
addAgent
protected boolean addAgent()
- Creates the FDATAgent object.
- Overrides:
- addAgent in class SocketContext
resourceChanged
public void resourceChanged(String type)
- Called when some Agent resource has changed.
- Parameters:
- type - String identifying the type of the resource.
- Overrides:
- resourceChanged in class AgentContext
main
public static void main(String arg[])
- Called if the FDATContext is started as an application from the command
line. Command line args:
- -i init_file URL
- [-s] shared classes URL, for classes and other files which will
be shared with other agents.
- [-l] local directory for writing to the shared classes URL.
- [-w] working directory for saving local files, this should not
be included if the agent cannot access the local disk
- [-n] name, only included if the Agent should automatically
connect to the network.
- [-gui] create a GUI if this flag is included
- [-p] Port for ServerSocket
- -address address for analysis submissions
- Parameters:
- arg - Array of command line arguments.
All Packages Class Hierarchy This Package Previous Next Index