Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
RemoteStreams


NAME

RemoteStreams - support export and import of streams

SYNOPSIS

PROCEDURE SetMode(s: Streams.Stream;
                  caps: Streams.CapabilitySet;
                  bufmode: Streams.BufMode);

DESCRIPTION

RemoteStreams is a service provider (see RemoteObjects and Services) which allows to export and import streams of Streams.

SetMode allows to parameterize subsequent exports of s:

caps
allows to restrict the exported capabilities to a subset of the capabilities returned by Streams.Capabilities.
bufmode
sets the buffering mode for the proxy stream on the importing side.
By default, the intersection of the capabilities supported by RemoteStreams and s are made available for the importing side. Currently, RemoteObjects does not support trunc, holes, and handler. The buffering mode defaults to the buffering mode of the original stream.

DIAGNOSTICS

RemoteStreams does not generate any error events itself. See RemoteObjects for network-related failures.

SEE ALSO

RemoteObjects
mechanism which allows to export and import objects
Streams
general abstraction for input and output

BUGS

StreamConditions are not supported yet.
Edited by: borchert, last change: 2002/02/15, revision: 1.2, converted to HTML: 2002/02/15

Oberon || Library || Module Index || Search Engine || Definition || Module