java.lang.Object
org.praxislive.hub.net.HubConfiguration.Builder
- Enclosing class:
HubConfiguration
Hub configuration builder.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the hub configuration.enableFileServer(boolean enable) Whether to enable the file server.Add information about a proxy.
-
Method Details
-
enableFileServer
Whether to enable the file server. The default is false. The server will be enabled if this value is true, and any proxy has a remote address.- Parameters:
enable- enable file server if required- Returns:
- this
-
proxy
Add information about a proxy. Multiple proxies may be added.- Parameters:
proxy- proxy information- Returns:
- this
-
build
Build the hub configuration.- Returns:
- created hub configuration
-