From f0cfbb21c1c0e68aef0de8e2380ac744be832d13 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 14 Mar 2011 16:38:54 +0900 Subject: Renamed classes in abstract layer of RPC service from XmlRpc* to Rpc*. Now JSON-RPC is available by default regardless of XML library. XML-RPC becomes available when XML library is available. --- src/HttpServerBodyCommand.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/HttpServerBodyCommand.h') diff --git a/src/HttpServerBodyCommand.h b/src/HttpServerBodyCommand.h index b4503a8c..f8fcc881 100644 --- a/src/HttpServerBodyCommand.h +++ b/src/HttpServerBodyCommand.h @@ -39,7 +39,7 @@ #include "SharedHandle.h" #include "TimerA2.h" #include "ValueBase.h" -#include "XmlRpcResponse.h" +#include "RpcResponse.h" namespace aria2 { @@ -60,12 +60,12 @@ private: const SharedHandle& id, const std::string& callback); void sendJsonRpcResponse - (const xmlrpc::XmlRpcResponse& res, + (const rpc::RpcResponse& res, const std::string& callback); void sendJsonRpcBatchResponse - (const std::vector& results, + (const std::vector& results, const std::string& callback); - xmlrpc::XmlRpcResponse processJsonRpcRequest(const Dict* jsondict); + rpc::RpcResponse processJsonRpcRequest(const Dict* jsondict); void addHttpServerResponseCommand(); public: HttpServerBodyCommand(cuid_t cuid, -- cgit