Next Previous Up Top Contents Index

5.10 Streams protocols

5.10.2 Wrapper stream protocol

This section describes the protocol for implementing wrapper streams. For information on using wrapper streams, see Section 5.8 on page 52.

<wrapper-stream>

Open instantiable class

The class that implements the basic wrapper-stream functionality. A required init-keyword, inner-stream:, specifies the wrapped stream.
inner-stream

Open generic function

inner-stream wrapper-stream => wrapped-stream 

Returns the stream wrapped by wrapper-stream.
inner-stream-setter

Open generic function

inner-stream-setter stream wrapper-stream => stream 

Wraps stream with wrapper-stream. It does so by setting the inner-stream slot of wrapper-stream to stream, and the outer-stream slot of stream to wrapper-stream.
outer-stream

Open generic function

outer-stream stream => wrapping-stream 

Returns the stream that is wrapping stream.
outer-stream-setter

Open generic function

outer-stream-setter wrapper-stream stream => wrapper-stream 

Sets the outer-stream slot of stream to wrapper-stream.

System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index