Module network
Back to master index
Module networkVersion:1.0.0
Package:org.astrogrid.acr.system
Configuration of the underlying network. component run at startup to configure the network - reads the preferences defined in this module.
Service Points
network.netConfig
1 service points
Contribution to framework.preferences
<preference default-value=" " name="network.proxyHost" requires-restart="true" >
  • <ui-name >
    • HTTP Proxy Host
    </ui-name>
  • <description >
    • Hostname for a proxy server used for all HTTP connections
    </description>
</preference>
<preference default-value="80" name="network.proxyPort" requires-restart="true" >
  • <ui-name >
    • HTTP Proxy port number
    </ui-name>
  • <description >
    • Port number of proxy server used for all HTTP connections (only relevant if Proxy Host is specified)
    </description>
  • <units >
    • number
    </units>
</preference>
<preference advanced="true" default-value="true" name="network.preferIPv4Stack" requires-restart="true" >
  • <ui-name >
    • Prefer IPv4 Stack
    </ui-name>
  • <description >
    • Value of java.net.preferIPv4Stack system property
    </description>
  • <units >
    • boolean
    </units>
</preference>
<preference advanced="true" default-value="false" name="network.preferIPv6Addresses" requires-restart="true" >
  • <ui-name >
    • Prefer IPv6 Addresses
    </ui-name>
  • <description >
    • Value of java.net.preferIPv6Addresses system property
    </description>
  • <units >
    • boolean
    </units>
</preference>
<preference advanced="true" default-value="enabled" name="org.astrogrid.filestore.chunked.send" propagate-to-config="true" requires-restart="true" >
  • <ui-name >
    • Filestore Chunking
    </ui-name>
  • <description >
    • transfer data to filestore in chunks, without buffering in memory first
    </description>
  • <option >
    • enabled
    </option>
  • <option >
    • disabled
    </option>
</preference>
Contribution to hivemind.Startup
<startup object="service:netConfig" />
Implementation for service network.netConfig
  • <invoke-factory service-id="hivemind.BuilderFactory" model="primitive" >
    • <construct class="org.astrogrid.desktop.modules.system.NetworkConfigurator" >
      • <object >
        • preference:network.proxyHost
        </object>
      • <object >
        • preference:network.proxyPort
        </object>
      • <string >
        • ${astrogrid.desktop.version}
        </string>
      • <object >
        • preference:network.preferIPv4Stack
        </object>
      • <object >
        • preference:network.preferIPv6Addresses
        </object>
      </construct>
    </invoke-factory>

Back to master index