code: def _set_shared_instances(self):
          
          self.inqueue = self.em.get_inqueue()
          self.outqueue = self.em.get_outqueue()
          self.namespace = self.em.get_namespace()
docs: Sets attributes from the shared instances.