Server

sealed class Server

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

Inheritors

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's configuration.

Link copied to clipboard
abstract val key: ServerKey

A unique key that identifies the server.