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 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

      @NotNull @IPAddress(emptyOK=true) public @NotNull @IPAddress(emptyOK=true) String 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.