mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-10-04 19:42:01 +08:00
add packet test: LpPacketTest
This commit is contained in:
1 parent
56eeae6dd7
commit
43468b0999
23 files changed
+208
-16
No files matched your search
@@ -16,6 +16,14 @@ public class LpPacket implements IEncodingAble {
|
||||
public LpPacketHeader lpPacketHeader=new LpPacketHeader();
|
||||
public Payload payload=new Payload();
|
||||
|
||||
public LpPacket(){
|
||||
}
|
||||
|
||||
public LpPacket(LpPacketHeader lpPacketHeader,Payload payload){
|
||||
this.lpPacketHeader=lpPacketHeader;
|
||||
this.payload=payload;
|
||||
}
|
||||
|
||||
/**
|
||||
* 将 LpPacket 线速编码为一个 TLV
|
||||
* @param encoder
|
||||
|
||||
Reference in new issue
Block a user