def SetHostPort(self, host, port):
     """Sets the host and port that this process listens on."""
     self.host = host
     self.port = port
     if self.backend_id:
         backends_api._set_dev_port(self.port, self.backend_id,
                                    self.instance_id)
Пример #2
0
 def SetHostPort(self, host, port):
   """Sets the host and port that this process listens on."""
   self.host = host
   self.port = port
   if self.backend_id:
     backends_api._set_dev_port(self.port,
                                self.backend_id,
                                self.instance_id)