Class FDATI.FDATAgent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class FDATI.FDATAgent

java.lang.Object
   |
   +----JavaAgent.agent.Agent
           |
           +----RemoteService.agent.ServiceAgent
                   |
                   +----FDATI.FDATAgent

public class FDATAgent
extends ServiceAgent
Subclass of ServiceAgent which represents the FDAT Service.


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.



Constructor Index

 o FDATAgent(ContextInterface, String, URL, URL, File, File, String)
Contructs a FDATAgent.

Method Index

 o analysisResults(String, String)
 o init()
Creates the FDATResourceManager, MessageHandler and reads in the init_file.
 o resourceChanged(Resource)
Called by a Resource object when the number of elements has changed.
 o submitFixels(String, String, String)
Submits the fixels for remote analysis.

Constructors

 o FDATAgent
  public FDATAgent(ContextInterface context,
                   String n,
                   URL init_url,
                   URL shared_url,
                   File shared_dir,
                   File working_dir,
                   String submission_address)
Contructs a FDATAgent.
Parameters:
n - String identifier for the Agent.
init_url - URL for the initialization file.
shared_url - URL for shared classes.
shared_dir - Directory for local access to shared classes.
working_dir - Directory for local files, will be null if the Agent is unable to write to the local file system.
submission_address - Address for analysis submissions.

Methods

 o init
  public void init()
Creates the FDATResourceManager, MessageHandler and reads in the init_file.
Overrides:
init in class ServiceAgent
 o resourceChanged
  public void resourceChanged(Resource r)
Called by a Resource object when the number of elements has changed.
Parameters:
type - Type of the Resource.
Overrides:
resourceChanged in class ServiceAgent
 o submitFixels
  protected void submitFixels(String client,
                              String plan_name,
                              String fixels)
Submits the fixels for remote analysis.
Parameters:
client - Agent which submitted the analysis request.
name - Name of the fixturing plan.
fixels - String containing fixel information.
 o analysisResults
  protected void analysisResults(String plan_name,
                                 String results)

All Packages  Class Hierarchy  This Package  Previous  Next  Index