NetworkSettings class

Settings related to network configuration.

Constructors

NetworkSettings({required SocketInfo subsystemsSocket, required SocketInfo videoSocket, required SocketInfo autonomySocket, required SocketInfo tankSocket, required double connectionTimeout})
Creates a new network settings object.
NetworkSettings.fromJson(Json? json)
Parses network settings from a JSON map.

Properties

autonomySocket SocketInfo
The address and port of the autonomy program.
final
connectionTimeout → double
The amount of time, in seconds, the dashboard should wait before determining it's lost connection to the rover. For reference, the rover should be sending messages at least once per second.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subsystemsSocket SocketInfo
The address and port of the subsystems program.
final
tankSocket SocketInfo
The address of the tank. The port is ignored.
final
videoSocket SocketInfo
The address and port of the video program.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Json
Serializes these settings to JSON.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited