|
Qore Programming Language Reference Manual
0.8.12.3
|
This class is not intended to be instantiated directly, please see StreamPipe. More...

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... | |
This class is not intended to be instantiated directly, please see StreamPipe.
| 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.
| ex | the exception, must contain strings 'err' and 'desc' |