Package-level declarations

Types

Link copied to clipboard

Defines server's type of acceptable messages.

Link copied to clipboard

Represents all known plugins in hub-server.

Link copied to clipboard
data class Plugin(val key: ServerKey, val configuration: PluginConfig) : Server

Defines an installable Plugin.

Link copied to clipboard
data class PluginConfig(val acceptableMessageType: AcceptableMessageType) : ServerConfig

Plugin configuration for setting up its capabilities.

Link copied to clipboard
sealed class Server

Represents an application capable of handling requests. A server can be either a Plugin or a ServerClient.

Link copied to clipboard
data class ServerClient(val key: ServerKey, val configuration: ServerClientConfig) : Server

Defines a server-client which is able to communicate with hub-server.

Link copied to clipboard
data class ServerClientConfig(val acceptableMessageType: AcceptableMessageType, val enabledPlugins: List<Plugin> = emptyList()) : ServerConfig

Server-client configuration for setting up its capabilities. A server-client should set up his configuration to avoid receiving messages he can't handle.

Link copied to clipboard
sealed class ServerConfig

Represents a server's configuration.

Link copied to clipboard
data class ServerKey(val value: String)

Specifies a key for a Server.