ServerClient

data class ServerClient(val key: ServerKey, val configuration: ServerClientConfig) : Server

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

Constructors

Link copied to clipboard
constructor(key: ServerKey, configuration: ServerClientConfig)

Functions

Link copied to clipboard

Returns the encapsulated plugin if this instance represents a Plugin or null if it is ServerClient.

Link copied to clipboard

Returns the encapsulated server-client if this instance represents a ServerClient or null if it is a Plugin.

Properties

Link copied to clipboard

A server-client's configuration.

Link copied to clipboard
open override val key: ServerKey

A unique key that identifies the server-client.