orc.orchard
Class PrintlnEvent

java.lang.Object
  extended by orc.orchard.JobEvent
      extended by orc.orchard.PrintlnEvent
All Implemented Interfaces:
java.io.Serializable

public class PrintlnEvent
extends JobEvent

Whenever a "print" or "println" site is called, the output is buffered and sent to the client with println events. Well-written Orc programs should use publications to communicate with the client, but using prints is convenient for short scripts.

Author:
quark
See Also:
Serialized Form

Field Summary
 java.lang.String line
          The newline terminator is implicit, so that the client can use whatever newlines are appropriate for their environment.
 
Fields inherited from class orc.orchard.JobEvent
sequence, timestamp
 
Constructor Summary
PrintlnEvent()
           
PrintlnEvent(java.lang.String line)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

public java.lang.String line
The newline terminator is implicit, so that the client can use whatever newlines are appropriate for their environment.

Constructor Detail

PrintlnEvent

public PrintlnEvent()

PrintlnEvent

public PrintlnEvent(java.lang.String line)