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.StringBuffer
outputBuf
-
Constructor Summary
Constructors Constructor Description OutputListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOutput()
boolean
hasData()
void
outputChanged(java.lang.String output)
It is called whenever the job's output has been updated.void
outputClosed()
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:JobOutputListener
It is called whenever the job's output has been updated.- Specified by:
outputChanged
in interfaceJobOutputListener
- Parameters:
output
- new output
-
outputClosed
public void outputClosed()
Description copied from interface:JobOutputListener
It is called whenever job finished and no more output will be generated.- Specified by:
outputClosed
in interfaceJobOutputListener
-
getOutput
public java.lang.String getOutput()
-
hasData
public boolean hasData()
-
-