def __init__(self, app): RPCHandler.__init__(self, app, PRIV_AGENT)
def __init__(self, app): RPCHandler.__init__(self, app, PRIV_ADMIN) self.cryptoHelper = app.cryptoHelper
def __init__(self, app): RPCHandler.__init__(self, app, PRIV_ANONYMOUS) self.cacert_data = open(app.ca_cert, 'r').read() self.servercert_data = open(app.server_crt, 'r').read() self.log = app.log