Class NetworkConfig
java.lang.Object
org.photonvision.common.configuration.NetworkConfig
- Direct Known Subclasses:
UINetConfig
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNetworkConfig
(String ntServerAddress, NetworkMode connectionType, String staticIp, String hostname, boolean runNTServer, boolean shouldManage, boolean shouldPublishProto, String networkManagerIface, String setStaticCommand, String setDHCPcommand, boolean matchCamerasOnlyByPath) NetworkConfig
(NetworkConfig config) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
setShouldManage
(boolean shouldManage) toString()
-
Field Details
-
ntServerAddress
-
connectionType
-
staticIp
-
hostname
-
runNTServer
public boolean runNTServer -
shouldManage
public boolean shouldManage -
shouldPublishProto
public boolean shouldPublishProto -
matchCamerasOnlyByPath
public boolean matchCamerasOnlyByPathIf we should ONLY match cameras by path, and NEVER only by base-name. For now default to false to preserve old matching logic.This also disables creating new CameraConfigurations for detected "new" cameras.
-
NM_IFACE_STRING
- See Also:
-
NM_IP_STRING
- See Also:
-
networkManagerIface
-
setStaticCommand
-
setDHCPcommand
-
-
Constructor Details
-
NetworkConfig
public NetworkConfig() -
NetworkConfig
-
NetworkConfig
-
-
Method Details