task_store.h

00001 #ifndef _DHT_KADC_TASK_STORE_H_
00002 #define _DHT_KADC_TASK_STORE_H_
00003 
00004 #include <string>
00005 
00006 #include "task.h"
00007 #include "client.h"
00008 
00009 namespace dht {
00010 namespace kadc {
00011     class task_store : public task {
00012         client                     *_client;        
00013         client::message_queue_type *_msg_queue;
00014         std::string     _index;
00015         std::string     _value; 
00016         std::string     _meta;
00017         notify_handler *_notify;
00018         KadCcontext    *_kcc;
00019         
00020     public:
00021         task_store(client *n,
00022                    client::message_queue_type *q,
00023                    KadCcontext             *kcc,
00024                    const key   &pkey,
00025                    const value &pvalue,
00026                    notify_handler *n);
00027 
00028         virtual ~task_store();
00029         
00030         virtual int svc(void);
00031     };
00032     
00033 } // ns kadc
00034 } // ns dht
00035 
00036 #endif //_DHT_KADC_TASK_STORE_H_

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