def __init__ (self, port = 6633, address = '0.0.0.0'): Task.__init__(self) self.port = int(port) self.address = address self.started = False core.addListener(pox.core.GoingUpEvent, self._handle_GoingUpEvent)
def __init__(self, port = 2555, address = '0.0.0.0'): Task.__init__(self) self.port = port self.address = address self.started = False self.con = None core.addListener(pox.core.GoingUpEvent, self._handle_GoingUpEvent)
def __init__(self, port=2555, address='0.0.0.0'): Task.__init__(self) self.port = port self.address = address self.started = False self.con = None core.addListener(pox.core.GoingUpEvent, self._handle_GoingUpEvent)