observer_message.h

00001 #ifndef _DHT_KADC_OBSERVER_MESSAGE_H_
00002 #define _DHT_KADC_OBSERVER_MESSAGE_H_
00003 
00004 #include "client.h"
00005 #include "message.h"
00006 #include "observer_info.h"
00007 #include "../notify_handler.h"
00008 
00009 namespace dht {
00010 namespace kadc {
00011 
00012     class observer_message {
00013     public:     
00014         virtual int received_message(client *, message *m, 
00015                                      const observer_info &) = 0;
00016     };
00017     
00018 } // ns kadc
00019 } // ns dht
00020 
00021 #endif //_DHT_KADC_OBSERVER_MESSAGE_H_

Generated on Thu Mar 1 16:18:47 2007 for libdht by  doxygen 1.5.1