示例#1
0
文件: dispatcher.py 项目: ri0t/cape
    def __init__(self):
        AdaptiveCommsComponent.__init__(self)

        basecomponent.__init__(self)

        self.MR['rpc_addgateway'] = {'remotenode': [(str, unicode), 'UUID of remote node'],
                                     'connector': [str, 'Name of connector']}
        self.MR['rpc_listgateways'] = {}
        RPCMixin.__init__(self)

        # TODO: Evaluate renaming, gateway maybe hella confusing..
        self.gateways = {}
示例#2
0
    def __init__(self):
        AdaptiveCommsComponent.__init__(self)

        basecomponent.__init__(self)

        self.MR['rpc_addgateway'] = {
            'remotenode': [(str, unicode), 'UUID of remote node'],
            'connector': [str, 'Name of connector']
        }
        self.MR['rpc_listgateways'] = {}
        RPCMixin.__init__(self)

        # TODO: Evaluate renaming, gateway maybe hella confusing..
        self.gateways = {}
示例#3
0
文件: rpccomponent.py 项目: ri0t/cape
 def __init__(self):
     basecomponent.__init__(self)
     RPCMixin.__init__(self)
示例#4
0
 def __init__(self):
     basecomponent.__init__(self)
     RPCMixin.__init__(self)