Qore Programming Language Reference Manual  0.8.12.3
Qore::PipeOutputStream Class Reference

This class is not intended to be instantiated directly, please see StreamPipe. More...

Inheritance diagram for Qore::PipeOutputStream:

Public Member Functions

nothing close ()
 Closes the output stream and releases any resources.
 
nothing reportError (hash ex)
 Causes all operations on both pipe streams to wake up and throw an exception. More...
 
nothing write (binary data)
 Writes bytes to the output stream.
 
- Public Member Functions inherited from Qore::OutputStream
 constructor ()
 Constructor. More...
 

Detailed Description

This class is not intended to be instantiated directly, please see StreamPipe.

Since
Qore 0.8.13
See also
StreamPipe

Member Function Documentation

nothing Qore::PipeOutputStream::reportError ( hash  ex)

Causes all operations on both pipe streams to wake up and throw an exception.

Normally used from the background thread to report an error to the main thread.

Parameters
exthe exception, must contain strings 'err' and 'desc'