MessageEndpointListenerConfiguration

ENTERPRISE EDITION API

Configuration for MessageEndpointListener

actual class MessageEndpointListenerConfiguration : DelegatedClass<<Error class: unknown class>> (source)

Constructors

Link copied to clipboard
expect constructor(database: Database, protocolType: ProtocolType)

The database to which the listener is attached

expect constructor(collections: Set<Collection>, protocolType: ProtocolType)

Create a MessageEndpointListenerConfiguration with the passed protocol type, for the passed Collections The passed set must contain at least one collection and all of the collections it contains must belong to the same scope and the same database, otherwise an InvalidArgumentException will be thrown. If one of the specified collections is deleted during replication, connected clients will be closed with an error.

actual constructor(database: Database, protocolType: ProtocolType)
actual constructor(collections: Set<Collection>, protocolType: ProtocolType)

Properties

Link copied to clipboard
Link copied to clipboard
expect val database: Database

The endpoint database

actual val database: Database
actual val database: Database
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String