state_disconnected.h

00001 #ifndef _DHT_KADC_STATE_DISCONNECTED_H_
00002 #define _DHT_KADC_STATE_DISCONNECTED_H_
00003 
00004 #include "state.h"
00005 
00006 namespace dht {
00007 namespace kadc {
00008     class state_disconnected : public state {
00009         static state_disconnected *_instance;
00010     public:
00011         static state_disconnected *instance();
00012         
00013         virtual void connect(class client *d, notify_handler *n);
00014         virtual void disconnect(client *d, notify_handler *n);
00015     protected:
00016         state_disconnected() : state("disconnected") {}
00017     };
00018 } // ns kadc
00019 } // ns dht
00020 
00021 #endif

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