3.4.4.1 Renewal

Renewal extends the TTL of the associated Server Object.

 TimeSpan Renewal(ILease lease);

lease: The expiring ILease object.

Return Value: A TimeSpan value that indicates the new TTL for the Server Object.

Exceptions: No Exceptions are specified for this method other than the Exceptions common to all Remote Methods in .NET Remoting (as specified in [MS-NRTP] section 3.2.5.1.7.2).

An implementation of this method MUST return a TimeSpan that is the new TTL. The implementation MUST return a valid TimeSpan value greater than or equal to 0. The meaning of the return value is specified in the following table.

Value

Meaning

0

Lease need not be renewed, and this Sponsor can be dropped from the Lease SponsorList.

>0

Lease needs to be renewed, and this Sponsor needs to be kept in the Lease SponsorList.

The implementation SHOULD NOT call methods on the lease argument but instead rely on the return value to indicate renewal.