ServerClientConfig

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.

Constructors

Link copied to clipboard
constructor(acceptableMessageType: AcceptableMessageType, enabledPlugins: List<Plugin> = emptyList())

Properties

Link copied to clipboard

Type of messages a server-client supports.

Link copied to clipboard

A list of plugins a server-client has enabled. Note that even though the plugins are "enabled" that does not mean necessarily server-client will receive messages from them, since they might be not installed on hub-server.