Inheritance diagram for OLLayeredOutStream:
Public Member Functions
|Close the stream. |
|Return the OLConnectedOutStream at the bottom of the stream stack. |
|Flush the stream. |
|Write bytes to the stream. |
Initializers and Deallocators
|Finalize the stream and deallocate any allocated memory. |
|Initialize the stream. |
|The stream on top of which this stream is layered. |
Layered streams can filter data that are ultimately written out to connected streams. The methods in OLLayeredOutStream merely forward messages to the underlying out stream.
|- (void) close|
|- (id) connectedOutStream|
Return the OLConnectedOutStream at the bottom of the stream stack.
All layered streams in this stack of layered streams will return the same value of the connected stream.
|- (void) dealloc|
|- (void) flush|
|- (id) initWithOutStream:||(OLOutStream *)||underStream|
|- (unsigned) writeBytes:||(const uint8_t *)||bytes|
Write bytes to the stream.
This implementation merely forwards the message to the next lower stream in the stream stack.
|OLInputOutputException||if there is an error writing to the stream|
|bytes||the bytes to write|
|count||the number of bytes to write|
Reimplemented from OLOutStream.