uk.ac.rdg.resc.jstyx.gridservice.client
Interface SGSInstanceClientChangeListener

All Known Implementing Classes:
SGSInstanceClientChangeAdapter, SGSInstanceGUI, SGSRun

public interface SGSInstanceClientChangeListener

Interface defining methods that will be fired when an SGSClient receives notification of a change in state of an SGS instance or when new data arrive.

Author:
Jon Blower $Revision: 587 $ $Date: 2006-02-20 08:37:32 +0000 (Mon, 20 Feb 2006) $ $Log$ Revision 1.5 2006/02/20 08:37:32 jonblower Still working towards handling output data properly in SGSInstanceClient Revision 1.4 2005/12/07 17:50:01 jonblower Changed gotCommandLine() to gotArguments() Revision 1.3 2005/12/01 17:17:07 jonblower Simplifying client interface to SGS instances Revision 1.2 2005/12/01 08:21:56 jonblower Fixed javadoc comments Revision 1.1 2005/11/10 19:47:10 jonblower Renamed SGSInstanceChange* to SGSInstanceClientChange* Revision 1.16 2005/10/18 14:08:14 jonblower Removed inputfiles from namespace Revision 1.15 2005/10/14 18:00:42 jonblower Renamed getInputMethods() to getInputStreams() Revision 1.14 2005/08/12 08:08:39 jonblower Developments to support web interface Revision 1.13 2005/08/02 08:04:52 jonblower Continuing to implement steering Revision 1.12 2005/08/01 16:38:05 jonblower Implemented simple parameter handling Revision 1.11 2005/06/14 07:45:16 jonblower Implemented setting of params and async notification of parameter changes Revision 1.10 2005/06/13 16:46:35 jonblower Implemented setting of parameter values via the GUI Revision 1.9 2005/06/10 07:53:12 jonblower Changed SGS namespace: removed "inurl" and subsumed functionality into "stdin" Revision 1.8 2005/05/26 16:52:06 jonblower Implemented detection and viewing of output streams Revision 1.7 2005/05/20 07:45:27 jonblower Implemented getInputFiles() to find the input files required by the service Revision 1.6 2005/05/18 17:13:51 jonblower Created SGSInstanceGUI Revision 1.5 2005/05/13 16:49:34 jonblower Coded dynamic detection and display of service data, also included streams in config file Revision 1.4 2005/05/11 18:25:00 jonblower Implementing automatic detection of service data elements Revision 1.3 2005/03/19 21:47:02 jonblower Further fixes relating to releasing ByteBuffers Revision 1.2 2005/03/18 13:55:59 jonblower Improved freeing of ByteBuffers, and bug fixes Revision 1.1 2005/03/16 22:16:44 jonblower Added Styx Grid Service classes to core module Revision 1.3 2005/03/16 17:59:35 jonblower Changed following changes to core JStyx library (replacement of java.nio.ByteBuffers with MINA's ByteBuffers) Revision 1.2 2005/02/21 18:12:17 jonblower Following changes to core JStyx library Revision 1.1 2005/02/16 19:22:29 jonblower Commit adding of SGS files to CVS

Method Summary
 void allOutputDataDownloaded()
          Called when all the output data have been downloaded
 void error(java.lang.String message)
          Called when an error occurs
 void gotArguments(java.lang.String newArgs)
          Called when we have a new string of command line arguments (for debug purposes)
 void gotExitCode(int exitCode)
          Called when the exit code from the service is received: this signals that the remote executable has completed.
 void gotParameterValue(java.lang.String name, java.lang.String value)
          Called when we have a new value for a parameter
 void gotServiceDataValue(java.lang.String sdName, java.lang.String newData)
          Called when the given service data element changes
 void gotSteerableParameterValue(java.lang.String name, java.lang.String value)
          Called when we have a new value for a steerable parameter
 void inputFilesUploaded()
          Called when the input files have been successfully uploaded
 void serviceAborted()
          Called when the service is stopped before it has finished
 void serviceStarted()
          Called when the service is started
 

Method Detail

gotServiceDataValue

void gotServiceDataValue(java.lang.String sdName,
                         java.lang.String newData)
Called when the given service data element changes


gotParameterValue

void gotParameterValue(java.lang.String name,
                       java.lang.String value)
Called when we have a new value for a parameter

Parameters:
name - Name of the parameter
value - The new value of the parameter

gotSteerableParameterValue

void gotSteerableParameterValue(java.lang.String name,
                                java.lang.String value)
Called when we have a new value for a steerable parameter

Parameters:
name - Name of the parameter
value - The new value of the parameter

gotArguments

void gotArguments(java.lang.String newArgs)
Called when we have a new string of command line arguments (for debug purposes)

Parameters:
newArgs - The new arguments

inputFilesUploaded

void inputFilesUploaded()
Called when the input files have been successfully uploaded


serviceStarted

void serviceStarted()
Called when the service is started


serviceAborted

void serviceAborted()
Called when the service is stopped before it has finished


allOutputDataDownloaded

void allOutputDataDownloaded()
Called when all the output data have been downloaded


gotExitCode

void gotExitCode(int exitCode)
Called when the exit code from the service is received: this signals that the remote executable has completed.


error

void error(java.lang.String message)
Called when an error occurs



Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.