Package fcp :: Module xmlrpc :: Class FreenetXMLRPCRequestHandler
[hide private]
[frames] | no frames]

Class FreenetXMLRPCRequestHandler

source code

Simple class which exposes basic primitives for freenet xmlrpc server

Instance Methods [hide private]
 
__init__(self, fcpnode) source code
 
get(self, uri, options=None)
Performs a fetch of a key
source code
 
put(self, uri, options=None)
Inserts data to node
source code
 
genkey(self) source code
Method Details [hide private]

get(self, uri, options=None)

source code 

Performs a fetch of a key

Arguments:

  • uri - the URI to retrieve
  • options - a mapping (dict) object containing various options - refer to FCPNode.get documentation

put(self, uri, options=None)

source code 

Inserts data to node

Arguments:

  • uri - the URI to insert under
  • options - a mapping (dict) object containing various options, refer to FCPNode.get documentation