Robustness for ActiveBSSIDs, state change handling cleanup

This commit is contained in:
Mike Hansen
2020-08-04 18:45:44 -04:00
parent 2f4be3f6c7
commit a39432fdf0
5 changed files with 253 additions and 233 deletions

View File

@@ -48,7 +48,7 @@ public class OpensyncAPRadioState extends BaseJsonModel {
public Map<String, String> hwParams;
public RadioType freqBand;
public int thermalIntegration;
public List<OpensyncAPVIFState> vifStates;
public Set<Uuid> vifStates;
public OpensyncAPRadioState() {
super();
@@ -56,7 +56,7 @@ public class OpensyncAPRadioState extends BaseJsonModel {
hwConfig = new HashMap<>();
channels = new HashMap<>();
hwParams = new HashMap<>();
vifStates = new ArrayList<>();
vifStates = new HashSet<>();
}
public String channelMode;
@@ -103,11 +103,11 @@ public class OpensyncAPRadioState extends BaseJsonModel {
this.mac = mac;
}
public List<OpensyncAPVIFState> getVifStates() {
public Set<Uuid> getVifStates() {
return vifStates;
}
public void setVifStates(List<OpensyncAPVIFState> vifStates) {
public void setVifStates(Set<Uuid> vifStates) {
this.vifStates = vifStates;
}