Package uk.ac.manchester.spinnaker.alloc
Class SpallocProperties.ProxyProperties
java.lang.Object
uk.ac.manchester.spinnaker.alloc.SpallocProperties.ProxyProperties
- Enclosing class:
- SpallocProperties
public static class SpallocProperties.ProxyProperties extends Object
Settings for the proxies.
-
Constructor Summary
Constructors Constructor Description ProxyProperties(boolean enable, boolean logWriteCounts, String localHost)
-
Method Summary
Modifier and Type Method Description @NotNull @IPAddress(emptyOK=true) String
getLocalHost()
boolean
isEnable()
boolean
isLogWriteCounts()
-
Constructor Details
-
ProxyProperties
public ProxyProperties(@DefaultValue("true") boolean enable, @DefaultValue("false") boolean logWriteCounts, @DefaultValue("") String localHost)- Parameters:
enable
- Whether to enable the UDP proxy subsystem.logWriteCounts
- Whether to log the number of packets read and written on each channel.localHost
- The address for local proxied sockets to listen on if they're not being bound to a specific board. If empty, that type of socket will be disabled.
-
-
Method Details
-
isEnable
public boolean isEnable()- Returns:
- Whether to enable the UDP proxy subsystem.
-
isLogWriteCounts
public boolean isLogWriteCounts()- Returns:
- Whether to log the number of packets read and written on each channel.
-
getLocalHost
- Returns:
- The address for local proxied sockets to listen on if they're not being bound to a specific board. If empty, that type of socket will be disabled.
-