00001 #ifndef _DHT_KADC_REACTOR_EVENT_HANDLER_H_
00002 #define _DHT_KADC_REACTOR_EVENT_HANDLER_H_
00003
00004 #include <ace/Event_Handler.h>
00005
00006 namespace dht {
00007 namespace kadc {
00008
00009
00010 class client;
00011
00012 class reactor_event_handler : public ACE_Event_Handler {
00013 class client *_owner;
00014
00015 public:
00016 reactor_event_handler(class client *owner_client);
00017 virtual ~reactor_event_handler();
00018
00019 void owner(class client *n);
00020
00021
00022
00023
00024 void signal();
00025
00026 virtual int handle_exception(ACE_HANDLE);
00027 };
00028
00029 }
00030 }
00031
00032 #endif //_DHT_KADC_REACTOR_EVENT_HANDLER_H_