Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
recv_data_longhua
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5ff54e22
authored
Sep 23, 2020
by
zhangxk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改事件、流量包体长度
1 parent
d50e9720
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/viontech/model/BehaviorModel.java
src/main/java/com/viontech/model/FlowModel.java
src/main/java/com/viontech/model/BehaviorModel.java
View file @
5ff54e2
...
...
@@ -61,7 +61,7 @@ public class BehaviorModel extends BaseModel {
@Override
public
void
encodeData
()
{
this
.
length
=
16L
+
448L
+
picture
.
length
;
this
.
length
=
16L
+
448L
+
picture
.
length
+
4
;
this
.
protocol
=
0x00040006
L
;
this
.
flag
=
Application
.
REAL_TIME
;
ByteBuf
buffer
=
ByteBufAllocator
.
DEFAULT
.
buffer
();
...
...
src/main/java/com/viontech/model/FlowModel.java
View file @
5ff54e2
...
...
@@ -33,7 +33,7 @@ public class FlowModel extends BaseModel {
@Override
public
void
encodeData
()
{
this
.
length
=
54
0
L
;
this
.
length
=
54
4
L
;
this
.
protocol
=
0x00040005
L
;
this
.
flag
=
Application
.
REAL_TIME
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment