Qore FileLocationHandler Module Reference
2.0
|
The abstract file location handler class. More...
Public Member Methods | |
close () | |
Flushes any buffered (unwritten) bytes, closes the output stream and releases all resources. More... | |
constructor (Qore::OutputStream stream, Qore::Thread::Counter cnt) | |
Creates the output stream wrapper object. | |
Qore::OutputStream | getStream () |
Returns the output stream. | |
methodGate (string m) | |
Redirects any method calls to the stream. | |
waitForIo () | |
Wait for any background I/O to complete. | |
write (binary data) | |
Writes bytes to the output stream. More... | |
Private:Internal Attributes | |
Qore::Thread::Counter | cnt |
The synchronization Counter. | |
Qore::OutputStream | stream |
The output stream object. | |
The abstract file location handler class.
|
virtual |
Flushes any buffered (unwritten) bytes, closes the output stream and releases all resources.
Any methods called on a closed output stream will throw an exception.
Implements Qore::OutputStream.
|
virtual |
Writes bytes to the output stream.
data | the data to write |
Implements Qore::OutputStream.