mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-29 09:48:33 -04:00
more private route work
This commit is contained in:
parent
2d526674a5
commit
e85d72f21a
13 changed files with 323 additions and 256 deletions
|
@ -657,6 +657,7 @@ class VeilidConfigRPC {
|
|||
int? maxTimestampAheadMs;
|
||||
int timeoutMs;
|
||||
int maxRouteHopCount;
|
||||
int defaultRouteHopCount;
|
||||
|
||||
VeilidConfigRPC(
|
||||
{required this.concurrency,
|
||||
|
@ -664,7 +665,8 @@ class VeilidConfigRPC {
|
|||
this.maxTimestampBehindMs,
|
||||
this.maxTimestampAheadMs,
|
||||
required this.timeoutMs,
|
||||
required this.maxRouteHopCount});
|
||||
required this.maxRouteHopCount,
|
||||
required this.defaultRouteHopCount});
|
||||
|
||||
Map<String, dynamic> get json {
|
||||
return {
|
||||
|
@ -674,6 +676,7 @@ class VeilidConfigRPC {
|
|||
'max_timestamp_ahead_ms': maxTimestampAheadMs,
|
||||
'timeout_ms': timeoutMs,
|
||||
'max_route_hop_count': maxRouteHopCount,
|
||||
'default_route_hop_count': defaultRouteHopCount,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -683,7 +686,8 @@ class VeilidConfigRPC {
|
|||
maxTimestampBehindMs = json['max_timestamp_behind_ms'],
|
||||
maxTimestampAheadMs = json['max_timestamp_ahead_ms'],
|
||||
timeoutMs = json['timeout_ms'],
|
||||
maxRouteHopCount = json['max_route_hop_count'];
|
||||
maxRouteHopCount = json['max_route_hop_count'],
|
||||
defaultRouteHopCount = json['default_route_hop_count'];
|
||||
}
|
||||
|
||||
////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue