code: def mount_process(self, process):
      
  
      for route_path in process.route_paths:
        route = '/%s%s' % (process.pid.id, route_path)
        log.info('Mounting route %s' % route)
        self.app.add_handlers('.*$', [(
            re.escape(route),
            RoutedRequestHandler,
            dict(process=process, path=route_path)
        )])
  
      for message_name in process.message_names:
        route = '/%s/%s' % (process.pid.id, message_name)
        log.info('Mounting message handler %s' % route)
        self.app.add_handlers('.*$', [(
            re.escape(route),
            WireProtocolMessageHandler,
            dict(process=process, name=message_name)
        )])
docs: Mount a Process onto the http server to receive message callbacks.