00001 #ifndef _DHT_KADC_TASK_DISCONNECT_H_
00002 #define _DHT_KADC_TASK_DISCONNECT_H_
00003
00004 #include "task.h"
00005 #include "client.h"
00006
00007 namespace dht {
00008 namespace kadc {
00009 class task_disconnect : public task {
00010 client::message_queue_type *_msg_queue;
00011 KadCcontext *_kcc;
00012 public:
00013 task_disconnect(client::message_queue_type *q,
00014 KadCcontext *kcc);
00015 virtual ~task_disconnect();
00016
00017 virtual int svc(void);
00018 };
00019
00020 }
00021 }
00022
00023 #endif //_DHT_KADC_TASK_DISCONNECT_H_