Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
b355084f
Commit
b355084f
authored
Apr 03, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Netty 协议承载实体 属性修改,增加扩展字段与响应类型
parent
36112506
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
PluginRpcRequestPacket.java
.../java/com/byit/packet/request/PluginRpcRequestPacket.java
+4
-4
PluginRpcResponsePacket.java
...ava/com/byit/packet/response/PluginRpcResponsePacket.java
+5
-0
No files found.
byit-plugin-core/byit-plugin-rpc-common/src/main/java/com/byit/packet/request/PluginRpcRequestPacket.java
View file @
b355084f
...
@@ -6,8 +6,6 @@ import com.byit.packet.BasePacketModel;
...
@@ -6,8 +6,6 @@ import com.byit.packet.BasePacketModel;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
java.util.Map
;
/**
/**
* 插件服务端的请求数据包
* 插件服务端的请求数据包
* @author huangfu
* @author huangfu
...
@@ -20,9 +18,11 @@ public class PluginRpcRequestPacket extends BasePacketModel {
...
@@ -20,9 +18,11 @@ public class PluginRpcRequestPacket extends BasePacketModel {
*/
*/
private
String
jobName
;
private
String
jobName
;
/**
/**
*
任务
参数
*
日志ID 扩展字段也可传其他
参数
*/
*/
private
Map
<
String
,
Object
>
param
;
private
String
extension
;
private
String
param
;
@Override
@Override
public
Command
getCommand
()
{
public
Command
getCommand
()
{
...
...
byit-plugin-core/byit-plugin-rpc-common/src/main/java/com/byit/packet/response/PluginRpcResponsePacket.java
View file @
b355084f
...
@@ -14,9 +14,14 @@ import lombok.EqualsAndHashCode;
...
@@ -14,9 +14,14 @@ import lombok.EqualsAndHashCode;
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
public
class
PluginRpcResponsePacket
extends
BasePacketModel
{
public
class
PluginRpcResponsePacket
extends
BasePacketModel
{
/**
* 日志ID 扩展字段也可传其他参数
*/
private
String
extension
;
private
String
code
;
private
String
code
;
private
String
msg
;
private
String
msg
;
private
Object
result
;
private
Object
result
;
private
String
type
;
private
boolean
status
=
false
;
private
boolean
status
=
false
;
@Override
@Override
public
Command
getCommand
()
{
public
Command
getCommand
()
{
...
...
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