Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

LeaseHolder_Impl.h

Go to the documentation of this file.
00001 
00002 #include "LeasingS.h"
00003 
00020 class LeaseHolder_Impl : public POA_LeaseHolder
00021 {
00022 public:
00023 
00029   void lease_expired (Lease_ptr lease)
00030   {
00031     // prolong the lease
00032     TimeBase::TimeT new_duration = 240; // seconds
00033     lease->renew (new_duration);
00034     
00035     //   or
00036     // remove the binding of the Quoter object from the lookup service
00037   }
00038 };
00039 

These pages document the source code of the patterns Lookup, Eager Acquisition, and Leasing.

Copyright 2004 John Wiley and Sons. All Rights Reserved.