Remove cachedPackets from HostInfo (#145)
This commit is contained in:
parent
8edd43230b
commit
c64577f42e
|
@ -5,7 +5,6 @@ class HostInfo {
|
||||||
int localIndex;
|
int localIndex;
|
||||||
int remoteIndex;
|
int remoteIndex;
|
||||||
List<UDPAddress> remoteAddresses;
|
List<UDPAddress> remoteAddresses;
|
||||||
int cachedPackets;
|
|
||||||
Certificate? cert;
|
Certificate? cert;
|
||||||
UDPAddress? currentRemote;
|
UDPAddress? currentRemote;
|
||||||
int messageCounter;
|
int messageCounter;
|
||||||
|
@ -15,7 +14,6 @@ class HostInfo {
|
||||||
required this.localIndex,
|
required this.localIndex,
|
||||||
required this.remoteIndex,
|
required this.remoteIndex,
|
||||||
required this.remoteAddresses,
|
required this.remoteAddresses,
|
||||||
required this.cachedPackets,
|
|
||||||
required this.messageCounter,
|
required this.messageCounter,
|
||||||
this.cert,
|
this.cert,
|
||||||
this.currentRemote,
|
this.currentRemote,
|
||||||
|
@ -43,7 +41,6 @@ class HostInfo {
|
||||||
localIndex: json['localIndex'],
|
localIndex: json['localIndex'],
|
||||||
remoteIndex: json['remoteIndex'],
|
remoteIndex: json['remoteIndex'],
|
||||||
remoteAddresses: remoteAddresses,
|
remoteAddresses: remoteAddresses,
|
||||||
cachedPackets: json['cachedPackets'],
|
|
||||||
messageCounter: json['messageCounter'],
|
messageCounter: json['messageCounter'],
|
||||||
cert: cert,
|
cert: cert,
|
||||||
currentRemote: currentRemote,
|
currentRemote: currentRemote,
|
||||||
|
|
|
@ -91,7 +91,6 @@ class _HostInfoScreenState extends State<HostInfoScreen> {
|
||||||
ConfigItem(label: Text('Remote Index'), labelWidth: 150, content: SelectableText('${hostInfo.remoteIndex}')),
|
ConfigItem(label: Text('Remote Index'), labelWidth: 150, content: SelectableText('${hostInfo.remoteIndex}')),
|
||||||
ConfigItem(
|
ConfigItem(
|
||||||
label: Text('Message Counter'), labelWidth: 150, content: SelectableText('${hostInfo.messageCounter}')),
|
label: Text('Message Counter'), labelWidth: 150, content: SelectableText('${hostInfo.messageCounter}')),
|
||||||
ConfigItem(label: Text('Cached Packets'), labelWidth: 150, content: SelectableText('${hostInfo.cachedPackets}')),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue