00001 00002 #include "LeasingC.h" 00003 00017 class Reactor 00018 { 00019 public: 00027 void register_timer (TimeBase::TimeT time, 00028 Event_Handler *handler, 00029 Lease_ptr lease) 00030 { 00031 }; 00032 00040 void unregister_timer (Event_Handler *handler, 00041 Lease_ptr lease) 00042 { 00043 }; 00044 00045 static Reactor *instance (); 00046 }; 00047 00048 Reactor *Reactor::instance () 00049 { 00050 return new Reactor; 00051 }
These pages document the source code of the patterns Lookup, Eager Acquisition, and Leasing.
Copyright 2004 John Wiley and Sons. All Rights Reserved.