public abstract class ServerProcessBuilder extends Object
| Constructor and Description |
|---|
ServerProcessBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Process |
build(@NonNull String serverJarPath,
int port,
@NonNull Path configPath,
String netInterface)
Build a new server process
|
public static Process build(@NonNull @NonNull String serverJarPath, int port, @NonNull @NonNull Path configPath, @Nullable String netInterface) throws IOException
serverJarPath - the path to the server jarport - the port to listen toconfigPath - the server configuration pathnetInterface - the network interfaceIOExceptionCopyright © 2022 SiLA Java Developers. All rights reserved.