You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
589 B
23 lines
589 B
1 month ago
|
|
||
|
class InitManger:
|
||
|
def __init__(self):
|
||
|
listen_tatus = False
|
||
|
|
||
|
def init_tool_info(self,self_ip="",self_port=0):
|
||
|
'''
|
||
|
初始化工具信息和工作 - 一直运行的信息
|
||
|
:return:
|
||
|
'''
|
||
|
#建立一个socket监听线程,处理反向连接
|
||
|
if self_ip and self_port: #ip和端口有值后
|
||
|
listen_tatus = False
|
||
|
pass
|
||
|
|
||
|
def init_task_info(self,cookie=""):
|
||
|
'''
|
||
|
初始化任务信息,-- 一次任务一次的信息
|
||
|
:return:
|
||
|
'''
|
||
|
pass
|
||
|
|
||
|
InitM = InitManger() #单一实例
|