/* */ #ifndef D_RPC_METHOD_FACTORY_H #define D_RPC_METHOD_FACTORY_H #include "common.h" #include #include #include namespace aria2 { namespace rpc { class RpcMethod; class RpcMethodFactory { public: static std::shared_ptr create(const std::string& methodName); private: static std::map > cache_; }; } // namespace rpc } // namespace aria2 #endif // D_RPC_METHOD_FACTORY_H