Пример #1
0
class TftpDaemon(threading.Thread):
    def __init__(self, logger, config, bootpd=None):
        threading.Thread.__init__(self, name="TftpDeamon")
        self.daemon = True
        self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)

    def run(self):
        self._server.bind()
        self._server.forever()
Пример #2
0
class TftpDaemon(threading.Thread):
    def __init__(self, logger, config, bootpd=None):
        threading.Thread.__init__(self, name="TftpDeamon")
        self.daemon = True
        self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)

    def run(self):
        self._server.bind()
        self._server.forever()
Пример #3
0
 def __init__(self, logger, config, bootpd=None):
     threading.Thread.__init__(self, name="TftpDeamon")
     self.daemon = True
     self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)
Пример #4
0
 def __init__(self, logger, config, bootpd=None):
     threading.Thread.__init__(self, name="TftpDeamon")
     self.daemon = True
     self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)
Пример #5
0
 def __init__(self, logger, config, bootpd=None):
     super(TftpDaemon, self).__init__(name="TftpDeamon")
     self.daemon = True
     self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)
Пример #6
0
 def __init__(self, logger, config, bootpd=None):
     super(TftpDaemon, self).__init__(name="TftpDeamon")
     self.daemon = True
     self._server = TftpServer(logger=logger, config=config, bootpd=bootpd)