コード例 #1
0
ファイル: pof_01.py プロジェクト: voidcc/PCTRL
 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)
コード例 #2
0
ファイル: peer.py プロジェクト: 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)
コード例 #3
0
ファイル: peer.py プロジェクト: tj0105/source_routing
    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)