def __init__(self, factory, realm, options=None): """ Ctor. """ uri = realm.config['name'] Router.__init__(self, factory, uri, options) self._roles = { "trusted": CrossbarRouterTrustedRole(self, "trusted", debug=self.debug) } self._realm = realm
def __init__(self, factory, realm, options=None, store=None): Router.__init__(self, factory, realm, options, store) self._interfaces = {}