OSDN Git Service

check_message_resultの返しかたを変更
authorokada <okada@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 5 Jan 2009 04:58:55 +0000 (04:58 +0000)
committerokada <okada@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 5 Jan 2009 04:58:55 +0000 (04:58 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-shamshel@5611 1ed66053-1c2d-0410-8867-f7571e6e31d3

include/protocol_module_base.h

index b4618ac..3837192 100644 (file)
@@ -118,19 +118,18 @@ public:
                                                        rs_list_itr_func_type   inlist_next,
                                                        boost::function< void( void ) > inlist_lock,
                                                        boost::function< void( void ) > inlist_unlock,
-                                                       replicationpaymemory_func_type  inreplication_pay_memory
-                                               ) = 0;
+                                                       replicationpaymemory_func_type  inreplication_pay_memory ) = 0;
 
-       virtual void    finalize();
+       virtual void    finalize() = 0;
 
        // event function
        virtual bool    is_use_sorry() = 0;
-       virtual check_message_result&   check_parameter( const std::vector<std::string>& args ) const = 0;
+       virtual check_message_result    check_parameter( const std::vector<std::string>& args ) = 0;
 
        virtual void    handle_rslist_update() = 0;
 
-       virtual check_message_result&   set_parameter( const std::vector<std::string>& args ) = 0;
-       virtual check_message_result&   add_parameter( const std::vector<std::string>& args ) = 0;
+       virtual check_message_result    set_parameter( const std::vector<std::string>& args ) = 0;
+       virtual check_message_result    add_parameter( const std::vector<std::string>& args ) = 0;
 
        virtual void    register_schedule( tcp_schedule_func_type inschedule ) = 0;
        virtual void    register_schedule( udp_schedule_func_type inschedule ) = 0;
@@ -210,7 +209,7 @@ public:
                                                                        const int recvlen ) = 0;
        
        virtual EVENT_TAG       handle_response_send_inform(
-                                                                       const boost::thread::id thread_id );
+                                                                       const boost::thread::id thread_id ) = 0;
 
        virtual EVENT_TAG       handle_client_connection_check(
                                                                        const boost::thread::id thread_id,