org.gridbus.broker.farming.alchemi
Class AlchemiOutputThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.gridbus.broker.farming.alchemi.AlchemiOutputThread
All Implemented Interfaces:
java.lang.Runnable

public class AlchemiOutputThread
extends java.lang.Thread

This class contains methods which retrieve the output from Alchemi jobs.

Author:
Rajiv Ranjan (rranjan@cs.mu.oz.au)

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AlchemiOutputThread(java.lang.String Task_id, CrossPlatformManagerSoap cms)
          Constructor for this class
 
Method Summary
 java.lang.String getoutput()
          Returns the output of this job
 void run()
          This method retrieves the output of this Alchemi Job, and executes on a seperate thread.
 void setoutput(java.lang.String out)
          Sets the output of this job
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlchemiOutputThread

public AlchemiOutputThread(java.lang.String Task_id,
                           CrossPlatformManagerSoap cms)
Constructor for this class

Parameters:
Task_id - - the task id for this job
cms - - the soap manager object
Method Detail

run

public void run()
This method retrieves the output of this Alchemi Job, and executes on a seperate thread.

See Also:
Thread.run()

setoutput

public void setoutput(java.lang.String out)
Sets the output of this job

Parameters:
out - - the output to set

getoutput

public java.lang.String getoutput()
Returns the output of this job

Returns:
- the job output