mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-06-21 23:49:38 +08:00
grpc 实现
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
*/
|
||||
package sanbing.jcpp.infrastructure.queue;
|
||||
|
||||
import com.google.protobuf.GeneratedMessage;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ProtoQueueMsg<T extends com.google.protobuf.GeneratedMessageV3> implements QueueMsg {
|
||||
public class ProtoQueueMsg<T extends GeneratedMessage> implements QueueMsg {
|
||||
|
||||
private final String key;
|
||||
protected final T value;
|
||||
|
||||
Reference in New Issue
Block a user