Package-level declarations

Types

Link copied to clipboard
class CommandBroker(serverConfig: ServerConfig, logger: Logger? = null) : Broker

This broker is designed to run raw commands on the backend to create a server. The resulting PID is then managed as if it were a valid server.

Link copied to clipboard
@Serializable
data class CommandBrokerConfig(var workingDirectory: String, var command: List<String>, var address: String? = null)

Configuration for the CommandBroker

Link copied to clipboard

Factory interface used to dynamically register and create jar brokers

Link copied to clipboard
class JarBroker(serverConfig: ServerConfig, logger: Logger? = null) : Broker

This broker is designed to run raw jar files. The resulting PID is then managed as if it were a server. It is a wrapper around the CommandBroker.

Link copied to clipboard
@Serializable
data class JarBrokerConfig(var workingDirectory: String, var address: String? = null, var jarFile: String, var javaFlags: List<String> = emptyList(), var flags: List<String> = emptyList())

Configuration for a jar broker

Functions

Link copied to clipboard

Convert a JarBrokerConfig to a CommandBrokerConfig