Commit 3a75ba4c authored by joliu's avatar joliu

更新一些说明

parent f3b9ec4d
''' '''
************************************************** **************************************************
* 智能体监听模块 * * 智能体监听模块 *
* * * *
* 1. 监听智能体控制器设置请求 * * 1. 监听智能体控制器设置请求 *
* 2. 循环处理任务队列中的任务 * * 2. 循环处理任务队列中的任务 *
* 3. 接收请求并执行 * * 3. 接收请求并执行 *
* * * *
* author: joliu<joliu@s-an.org> * * author: joliu<joliu@s-an.org> *
* date: 2018-3 * * date: 2018-3-21 *
************************************************** **************************************************
''' '''
...@@ -59,7 +59,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): ...@@ -59,7 +59,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
if not command in controlMethodList: if not command in controlMethodList:
print("error: illegal command") print("error: illegal command")
errorFlag = True errorFlag = True
(status, output) = (-1, "illegal controller command") (status, output) = (-1, "illegal controller command: %s" % command)
else: else:
# 匹配控制指令做出相应操作 # 匹配控制指令做出相应操作
(status, output) = executeCommand(command, message[2:]) (status, output) = executeCommand(command, message[2:])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment