mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
rpc
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.jsowell.netty.rpc;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class RpcRequest extends Message{
|
||||
|
||||
private String id;
|
||||
|
||||
private String param;
|
||||
|
||||
public RpcRequest() {
|
||||
this.id = UUID.randomUUID().toString();
|
||||
super.messageType = MessageConstant.rpcRequest;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user