Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This sample shows the sequence of steps involved when the client registers a Sponsor to manage the lifetime of the remote CAO Server Object.
The client creates a CAO by sending an activation request to the RemoteActivationService, and receives the Proxy to the Server Object in the activation response.
After the client has the Proxy, it retrieves the Proxy to the CAO's Lease Object by calling the GetLifetimeService method.
It then registers a Sponsor object by calling the Register method.
When the TTL of the Server Object expires, the Renewal method is called.
The sequence diagram for the above sample is shown in the following figure.
Figure 9: Registering a Sponsor