Document session

Whenever an object creates a document surrogate with a valid document reference, the document registry starts a document server process if one is not already running. The document server process continues to exist until the last document surrogate associated with the process is destroyed.

When the document server process starts, it resurrects an instance of TDocumentStore. The newly recreated document store object creates an instance of TDocumentSession that then takes over managing the document server process.

The document session has the document store read in the document (resurrecting it), its cross-reference table, and its state. Then the document session establishes an interprocess communication link with the already existing document registry.

Finally, the document session creates a request queue, and a thread for handling the requests, and waits to handle requests against the document data either by external objects or by internal objects (such as the document presenter).


[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