Streaming and filing data

The CommonPoint application system uses streaming to store data on storage media. Streaming converts an object to a flat byte-encoded stream before transmitting it to the storage media.

Information which is streamed is destined to be sent to another process, another model, or another machine. Interprocess communication (IPC) and remote process communication (RPC) both use streaming as their transmission medium.

Making streaming work

Streaming is already supported by the Compound Document framework. To use streaming in your documents, simply implement the data-specific streaming operators in your model.

The stream-out operator converts the data in your model into a byte stream. The stream-in operator resurrects this data from the incoming byte stream and restores it to a fully-structured model.

The Compound Document framework stores individual models and presenter states separately.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker