Package org.globus.io.gass.server
Class OutputListener
- java.lang.Object
-
- org.globus.io.gass.server.OutputListener
-
- All Implemented Interfaces:
JobOutputListener
class OutputListener extends java.lang.Object implements JobOutputListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringBufferoutputBuf
-
Constructor Summary
Constructors Constructor Description OutputListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetOutput()booleanhasData()voidoutputChanged(java.lang.String output)It is called whenever the job's output has been updated.voidoutputClosed()It is called whenever job finished and no more output will be generated.
-
-
-
Method Detail
-
outputChanged
public void outputChanged(java.lang.String output)
Description copied from interface:JobOutputListenerIt is called whenever the job's output has been updated.- Specified by:
outputChangedin interfaceJobOutputListener- Parameters:
output- new output
-
outputClosed
public void outputClosed()
Description copied from interface:JobOutputListenerIt is called whenever job finished and no more output will be generated.- Specified by:
outputClosedin interfaceJobOutputListener
-
getOutput
public java.lang.String getOutput()
-
hasData
public boolean hasData()
-
-