コード例 #1
0
	def __init__(self, slottable):
		HostSelectionPolicy.__init__(self, slottable)
		self.logger = logging.getLogger("ENACT.ONE.INFO")
		self.probe = probe_client.IO_Client(timeout=20)
		self.probe.add_host("hercules", "192.168.0.8")
		self.probe.add_host("gemini", "192.168.0.26")
		self.probe.add_host("bootes", "192.168.0.34")
コード例 #2
0
 def __init__(self, slottable):
     """Constructor
     
     Argument
     slottable -- A fully constructed SlotTable
     """  
     HostSelectionPolicy.__init__(self, slottable)