Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
Arquivo: peer.py Projeto: voidcc/PCTRL
 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)
Exemplo n.º 3
0
    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)