OPSI.Service.JsonRpc module

Support for JSON-RPC.

Information about the JSON-RPC standard can be found at http://www.jsonrpc.org/specification

copyright:uib GmbH <info@uib.de>
author:Jan Schneider <j.schneider@uib.de>
author:Niko Wenselowski <n.wenselowski@uib.de>
license:GNU Affero General Public License version 3
class OPSI.Service.JsonRpc.JsonRpc(instance, interface, rpc)

Bases: object

execute(result=None)
getDuration()
getMethodName()
getResponse()
hasEnded()
isStarted()
class OPSI.Service.JsonRpc.JsonRpcRequestProcessor(query, callInstance, callInterface=None, gzip=False)

Bases: object

buildRpcs()
decodeQuery()
executeRpcs(thread=True)
getResults()