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
@@ -33,13 +33,25 @@ import encoding.*;
|
||||
// }
|
||||
//
|
||||
public class Data implements IEncodingAble, InteractWithField {
|
||||
public MINPacket minPacket=new MINPacket();
|
||||
private MINPacket minPacket=new MINPacket();
|
||||
public FreshnessPeriod freshnessPeriod=new FreshnessPeriod();
|
||||
public Payload payload=new Payload();
|
||||
public CongestionMark congestionMark=new CongestionMark();
|
||||
public NackHeader nackHeader=new NackHeader();
|
||||
public Identifier name=new Identifier();
|
||||
|
||||
public Data(){
|
||||
}
|
||||
|
||||
public Data(Identifier name,Payload payload,FreshnessPeriod freshnessPeriod,
|
||||
CongestionMark congestionMark,NackHeader nackHeader){
|
||||
this.name=name;
|
||||
this.payload=payload;
|
||||
this.freshnessPeriod=freshnessPeriod;
|
||||
this.congestionMark=congestionMark;
|
||||
this.nackHeader=nackHeader;
|
||||
}
|
||||
|
||||
/**
|
||||
* 展示数据包的 URI
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user