Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-WIC-Opencpc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-WIC-Opencpc
Commits
3a75ba4c
Commit
3a75ba4c
authored
Mar 22, 2018
by
joliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新一些说明
parent
f3b9ec4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
hfv/listenSer.py
hfv/listenSer.py
+6
-6
No files found.
hfv/listenSer.py
View file @
3a75ba4c
'''
**************************************************
* 智能体监听模块
*
* 智能体监听模块 *
* *
* 1. 监听智能体控制器设置请求
*
* 2. 循环处理任务队列中的任务
*
* 3. 接收请求并执行
*
* 1. 监听智能体控制器设置请求 *
* 2. 循环处理任务队列中的任务 *
* 3. 接收请求并执行 *
* *
* author: joliu<joliu@s-an.org> *
* date: 2018-3
*
* date: 2018-3
-21
*
**************************************************
'''
...
...
@@ -59,7 +59,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
if
not
command
in
controlMethodList
:
print
(
"error: illegal command"
)
errorFlag
=
True
(
status
,
output
)
=
(
-
1
,
"illegal controller command
"
)
(
status
,
output
)
=
(
-
1
,
"illegal controller command
: %s"
%
command
)
else
:
# 匹配控制指令做出相应操作
(
status
,
output
)
=
executeCommand
(
command
,
message
[
2
:])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment