def __init__(self,hostID,logFile,hostID_To_IP) :
threading.Thread.__init__(self)
self.threadCmdLock = threading.Lock()
self.threadCmdQueue = []
self.hostID = hostID
self.IPMap = hostID_To_IP
self.hostIP,self.listenPort = self.IPMap[self.hostID]
self.log = logger.Logger(logFile,"Host " + str(hostID) + " Network Layer Thread")
self.hostIDtoPowerSimID = None
self.powerSimIDtohostID = None
self.attackLayer = None
basicNetworkServiceLayer.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录