主权项 |
1. A system for managing distributed client-server object handles, the system comprising:
a remote client computer containing a first one or more hardware processors; a server computer containing a second one or more hardware processors; the remote client computer containing a first computer readable data storage device coupled to the first one or more hardware processors, the first computer readable data storage device having stored thereon software instructions that, when executed by the first one or more hardware processors, cause the first one or more hardware processors to perform operations including: creating a remote object handle manager; establishing a connection with a remote query processor on the server computer; establishing a liveness indication system with the remote query processor; receiving from the remote query processor, exported object handle information for use in constructing a remote object handle, including an exported object identifier, the exported object identifier identifying an exported object; the remote object handle manager constructing a remote object handle; the remote object handle manager monitoring liveness of all client objects that depend on the remote object handle, the remote object handle depending on the exported object and indirectly on the exported object's dependencies; the remote object handle manager sending a release notification to the remote query processor including an exported object identifier, after no client objects depend on the exported object; the server computer containing a second computer readable data storage device coupled to the second one or more hardware processors, the second computer readable data storage device having stored thereon software instructions that, when executed by the second one or more hardware processors, cause the second one or more hardware processors to perform operations including: creating a remote query processor, the remote query processor performing operations including:
creating an exported object handle manager;sending the exported object handle information, including an exported object identifier from an exported object handle manager to the remote client computer; andpreserving a liveness of the exported object at least until the first of the following events:
receipt of a release notification from the remote table handle manager; andthe liveness indication system determines the remote client computer is not connected. |