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

Leasing.cpp File Reference

#include "Quoter_Impl.h"
#include "LeaseHolder_Impl.h"


int main (int argc, char *argv[])

Function Documentation

int main int  argc,
char *  argv[]

To publish the Quoter service the application binds the hosted Quoter object with the lookup service. When the leasing time is accepted a valid Lease is returned. The lease can be renewed via the Lease interface before its expiration. When the lease expires the registered object of the type LeaseHolder is notified by the lease.

Michael Kircher

Prashant Jain


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

Copyright 2004 John Wiley and Sons. All Rights Reserved.