URLEndpointListener

actual class URLEndpointListener(config: URLEndpointListenerConfiguration) : DelegatedClass<CBLURLEndpointListener> (source)

ENTERPRISE EDITION API

A listener to which remote replicators can connect.

actual class URLEndpointListener(config: URLEndpointListenerConfiguration) : DelegatedClass<<Error class: unknown class>> (source)

Constructors

Link copied to clipboard
actual constructor(config: URLEndpointListenerConfiguration)
expect constructor(config: URLEndpointListenerConfiguration)
actual constructor(config: URLEndpointListenerConfiguration)
actual constructor(config: URLEndpointListenerConfiguration)

Properties

Link copied to clipboard

The listener's configuration (read only).

Link copied to clipboard
actual val port: Int?
expect val port: Int?

Get the listener's port. This method will return null except between the time the listener is started and the time it is stopped.

actual val port: Int?
actual val port: Int?
Link copied to clipboard

The listener status.

Link copied to clipboard

The TLS identity used by the listener.

Link copied to clipboard
actual val urls: List<String>
expect val urls: List<String>

Get the list of URIs for the listener.

actual val urls: List<String>
actual val urls: List<String>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
actual fun start()
expect fun start()

Start the listener.

actual fun start()
actual fun start()
Link copied to clipboard
actual fun stop()
expect fun stop()

Stop the listener.

actual fun stop()
actual fun stop()
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String