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