forked from KNEMC/KLALB
KLALB大更新
新负载均衡算法
This commit is contained in:
@@ -17,12 +17,9 @@ public abstract class KLALBPacket{
|
||||
public static final int ACKT=6;
|
||||
public static final int DATAU=7;
|
||||
public static final int VADDR=8;
|
||||
|
||||
public static final int LINES=9;
|
||||
private int type;
|
||||
|
||||
public KLALBPacket() {
|
||||
super();
|
||||
}
|
||||
public KLALBPacket(int type) {
|
||||
super();
|
||||
this.type = type;
|
||||
@@ -41,6 +38,7 @@ public abstract class KLALBPacket{
|
||||
|
||||
}
|
||||
public long getLength() {
|
||||
return 4;
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user