summaryrefslogtreecommitdiff
path: root/src/XmlRpcMethodImpl.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-05-10 14:35:51 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-05-10 14:35:51 +0000
commitbb56bd5bd1ddc0d76ad782cc7de0cc68f673223d (patch)
treec9b2a27b75edf40ab4bf288ac59d3e5be7c3f6bf /src/XmlRpcMethodImpl.h
parentefe294320e270cc5a1604f3abdf2b586a5c0457e (diff)
2009-05-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
The information for files, URIs, peers are removed from the reponse of TellaActive, TellStatus command because they tend to be large. Instead they can be retrieved by the dedicated commands: getFiles, getUris and getPeers respectively. * src/XmlRpcMethodFactory.cc * src/XmlRpcMethodImpl.cc * src/XmlRpcMethodImpl.h
Diffstat (limited to 'src/XmlRpcMethodImpl.h')
-rw-r--r--src/XmlRpcMethodImpl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/XmlRpcMethodImpl.h b/src/XmlRpcMethodImpl.h
index 8fa220a2..ab4ab4f2 100644
--- a/src/XmlRpcMethodImpl.h
+++ b/src/XmlRpcMethodImpl.h
@@ -56,6 +56,21 @@ protected:
virtual BDE process(const XmlRpcRequest& req, DownloadEngine* e);
};
+class GetUrisXmlRpcMethod:public XmlRpcMethod {
+protected:
+ virtual BDE process(const XmlRpcRequest& req, DownloadEngine* e);
+};
+
+class GetFilesXmlRpcMethod:public XmlRpcMethod {
+protected:
+ virtual BDE process(const XmlRpcRequest& req, DownloadEngine* e);
+};
+
+class GetPeersXmlRpcMethod:public XmlRpcMethod {
+protected:
+ virtual BDE process(const XmlRpcRequest& req, DownloadEngine* e);
+};
+
class TellStatusXmlRpcMethod:public XmlRpcMethod {
protected:
virtual BDE process(const XmlRpcRequest& req, DownloadEngine* e);