def generateClientConfiguration(self, registry): import pythia.pyre.parsing.locators locator = pythia.pyre.parsing.locators.simple('service') # get the inheriter settings TCPService.generateClientConfiguration(self, registry) # record the marshaller key # FIXME: generalize this to other picklers, like idd and ipa self.marshaller.generateClientConfiguration(registry) return
def generateClientConfiguration(self, registry): """update the given registry node with sufficient information to grant access to clients""" import pythia.pyre.parsing.locators locator = pythia.pyre.parsing.locators.simple('service') # get the inherited settings TCPService.generateClientConfiguration(self, registry) # record the marshaller name registry.setProperty('marshaller', self.marshaller.name, locator) # get the marshaller to record his configuration marshaller = registry.getNode(self.marshaller.name) self.marshaller.generateClientConfiguration(marshaller) return